|
||||||||||
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
SamException
void 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
.
SamException
SamType getSamType()
void setUserContext(javax.naming.directory.DirContext userContext)
userContext
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |