public interface PrincipalStore
| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(javax.security.auth.kerberos.KerberosPrincipal byPrincipal,
javax.security.auth.kerberos.KerberosPrincipal forPrincipal,
java.lang.String newPassword,
boolean isInitialTicket)
Change a principal's password.
|
PrincipalStoreEntry |
getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal)
Get a
PrincipalStoreEntry given a Kerberos principal. |
void changePassword(javax.security.auth.kerberos.KerberosPrincipal byPrincipal,
javax.security.auth.kerberos.KerberosPrincipal forPrincipal,
java.lang.String newPassword,
boolean isInitialTicket)
throws ChangePasswordException
byPrincipal - the principal which is changing the password for the forPrincipalforPrincipal - the principal whose password is being set or changednewPassword - the new passwordisInitialTicket - tells if the ticket is a freshly obtained ticketjava.lang.ExceptionChangePasswordExceptionPrincipalStoreEntry getPrincipal(javax.security.auth.kerberos.KerberosPrincipal principal) throws java.lang.Exception
PrincipalStoreEntry given a Kerberos principal.principal - PrincipalStoreEntry for the given Kerberos principal.java.lang.Exception