org.apache.directory.server.kerberos.shared.store
Interface PrincipalStore

All Known Implementing Classes:
DirectoryPrincipalStore

public interface PrincipalStore

The store interface used by Kerberos services.

Author:
Apache Directory Project

Method Summary
 String changePassword(KerberosPrincipal principal, String newPassword)
          Change a principal's password.
 PrincipalStoreEntry getPrincipal(KerberosPrincipal principal)
          Get a PrincipalStoreEntry given a Kerberos principal.
 

Method Detail

changePassword

String changePassword(KerberosPrincipal principal,
                      String newPassword)
                      throws Exception
Change a principal's password.

Parameters:
principal -
newPassword -
Returns:
The name of the principal whose password is being changed.
Throws:
Exception

getPrincipal

PrincipalStoreEntry getPrincipal(KerberosPrincipal principal)
                                 throws Exception
Get a PrincipalStoreEntry given a Kerberos principal.

Parameters:
principal -
Returns:
The PrincipalStoreEntry for the given Kerberos principal.
Throws:
Exception


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.