|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SamVerifier
Single-use Authentication Mechanism verifier (subsystem) interface. SamVerifiers are modules that can be configured and are dynamically loaded as needed. Implementations have a few requirements and things implementors should know:
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 usesad - single-use authentication data (encrypted generalized timestamp)
SamExceptionSamType getSamType()
void setUserContext(javax.naming.directory.DirContext userContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||