|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.kerberos.shared.store.DirectoryPrincipalStore
public class DirectoryPrincipalStore
A PrincipalStore backing entries in a DirectoryService. TODO implement it!!
| Constructor Summary | |
|---|---|
DirectoryPrincipalStore(DirectoryService directoryService)
Creates a new instance of DirectoryPrincipalStore. |
|
| Method Summary | |
|---|---|
java.lang.String |
addPrincipal(PrincipalStoreEntry entry)
Add a principal. |
java.lang.String |
changePassword(javax.security.auth.kerberos.KerberosPrincipal principal,
java.lang.String newPassword)
Change a principal's password. |
java.lang.String |
deletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
Delete a principal. |
PrincipalStoreEntry[] |
getAllPrincipals(java.lang.String realm)
Get all principals for a given realm. |
PrincipalStoreEntry |
getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
Get a PrincipalStoreEntry given a Kerberos principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryPrincipalStore(DirectoryService directoryService)
directoryService - backing store for this PrincipalStore| Method Detail |
|---|
public java.lang.String addPrincipal(PrincipalStoreEntry entry)
throws java.lang.Exception
PrincipalStore
addPrincipal in interface PrincipalStorejava.lang.Exception
public java.lang.String changePassword(javax.security.auth.kerberos.KerberosPrincipal principal,
java.lang.String newPassword)
throws java.lang.Exception
PrincipalStore
changePassword in interface PrincipalStorejava.lang.Exception
public java.lang.String deletePrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
throws java.lang.Exception
PrincipalStore
deletePrincipal in interface PrincipalStorejava.lang.Exception
public PrincipalStoreEntry[] getAllPrincipals(java.lang.String realm)
throws java.lang.Exception
PrincipalStore
getAllPrincipals in interface PrincipalStorePrincipalStoreEntry's.
java.lang.Exception
public PrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
throws java.lang.Exception
PrincipalStorePrincipalStoreEntry given a Kerberos principal.
getPrincipal in interface PrincipalStorePrincipalStoreEntry for the given Kerberos principal.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||