public interface SamVerifier
| Modifier and Type | Method and Description |
|---|---|
SamType |
getSamType()
Gets the registered SAM algorithm type implemented by this SamVerifier.
|
void |
setIntegrityChecker(KeyIntegrityChecker keyChecker)
SamVerifiers require a KeyIntegrityChecker to calculate the integrity of
a generated KerberosKey.
|
void |
setUserContext(javax.naming.directory.DirContext userContext)
Sets the user context where users are stored for the primary realm.
|
void |
shutdown()
Shuts down one of many pluggable SAM type subsystem.
|
void |
startup()
Starts one of many pluggable SAM type subsystem.
|
javax.security.auth.kerberos.KerberosKey |
verify(javax.security.auth.kerberos.KerberosPrincipal principal,
byte[] sad)
Verifies the single use password supplied.
|
void startup()
throws SamException
SamExceptionvoid shutdown()
void setIntegrityChecker(KeyIntegrityChecker keyChecker)
keyChecker - The integrity checker that validates whether or not a
key can decrypt-decode preauth data (an encryped-encoded generalized
timestamp).javax.security.auth.kerberos.KerberosKey verify(javax.security.auth.kerberos.KerberosPrincipal principal,
byte[] sad)
throws SamException
principal - The kerberos principal to use.sad - Single-use authentication data (encrypted generalized timestamp).KerberosKey.SamExceptionSamType getSamType()
void setUserContext(javax.naming.directory.DirContext userContext)
userContext -