public class DirectoryPrincipalStore extends Object implements PrincipalStore
| Constructor and Description |
|---|
DirectoryPrincipalStore(DirectoryService directoryService,
org.apache.directory.shared.ldap.name.DN searchBaseDn)
Creates a new instance of DirectoryPrincipalStore.
|
| Modifier and Type | Method and Description |
|---|---|
String |
changePassword(KerberosPrincipal principal,
String newPassword)
Change a principal's password.
|
PrincipalStoreEntry |
getPrincipal(KerberosPrincipal principal)
Get a
PrincipalStoreEntry given a Kerberos principal. |
public DirectoryPrincipalStore(DirectoryService directoryService, org.apache.directory.shared.ldap.name.DN searchBaseDn)
directoryService - backing store for this PrincipalStorepublic String changePassword(KerberosPrincipal principal, String newPassword) throws Exception
PrincipalStorechangePassword in interface PrincipalStoreExceptionpublic PrincipalStoreEntry getPrincipal(KerberosPrincipal principal) throws Exception
PrincipalStorePrincipalStoreEntry given a Kerberos principal.getPrincipal in interface PrincipalStorePrincipalStoreEntry for the given Kerberos principal.ExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.