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
PrincipalStore
changePassword
in interface PrincipalStore
Exception
public PrincipalStoreEntry getPrincipal(KerberosPrincipal principal) throws Exception
PrincipalStore
PrincipalStoreEntry
given a Kerberos principal.getPrincipal
in interface PrincipalStore
PrincipalStoreEntry
for the given Kerberos principal.Exception
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.