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

All Known Implementing Classes:
JndiPrincipalStoreImpl

public interface PrincipalStore

The store interface used by Kerberos services.

Version:
$Rev:330489 $, $Date: 2006-08-25 01:11:45 +0200 (Fri, 25 Aug 2006) $
Author:
Apache Directory Project

Method Summary
 java.lang.String addPrincipal(PrincipalStoreEntry entry)
           
 java.lang.String changePassword(javax.security.auth.kerberos.KerberosPrincipal principal, javax.security.auth.kerberos.KerberosKey newKey)
           
 java.lang.String deletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
           
 PrincipalStoreEntry[] getAllPrincipals(java.lang.String realm)
           
 PrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
           
 

Method Detail

addPrincipal

public java.lang.String addPrincipal(PrincipalStoreEntry entry)
                              throws java.lang.Exception
Throws:
java.lang.Exception

changePassword

public java.lang.String changePassword(javax.security.auth.kerberos.KerberosPrincipal principal,
                                       javax.security.auth.kerberos.KerberosKey newKey)
                                throws java.lang.Exception
Throws:
java.lang.Exception

deletePrincipal

public java.lang.String deletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getAllPrincipals

public PrincipalStoreEntry[] getAllPrincipals(java.lang.String realm)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getPrincipal

public PrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
                                 throws java.lang.Exception
Throws:
java.lang.Exception