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

All Known Implementing Classes:
DirectoryPrincipalStore

public interface PrincipalStore

The store interface used by Kerberos services.

Version:
$Rev:330489 $, $Date: 2009-04-05 22:46:12 +0200 (Sun, 05 Apr 2009) $
Author:
Apache Directory Project

Method Summary
 java.lang.String changePassword(javax.security.auth.kerberos.KerberosPrincipal principal, java.lang.String newPassword)
          Change a principal's password.
 PrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
          Get a PrincipalStoreEntry given a Kerberos principal.
 

Method Detail

changePassword

java.lang.String changePassword(javax.security.auth.kerberos.KerberosPrincipal principal,
                                java.lang.String newPassword)
                                throws java.lang.Exception
Change a principal's password.

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

getPrincipal

PrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
                                 throws java.lang.Exception
Get a PrincipalStoreEntry given a Kerberos principal.

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


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.