|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.sam.SamSubsystem
public final class SamSubsystem
The Subsystem that enables the Kerberos server to use plugable Single-use Authentication mechanisms.
Field Summary | |
---|---|
static SamSubsystem |
instance
|
static java.lang.String |
PROPKEY_BASE
the property key base used for SAM algorithm verifiers |
Constructor Summary | |
---|---|
SamSubsystem()
|
Method Summary | |
---|---|
static SamSubsystem |
getInstance()
Gets the singleton instance of the SamSubsystem. |
void |
setIntegrityChecker(KeyIntegrityChecker keyChecker)
Sets the KeyIntegrityChecker used by the entire SamSubsystem. |
void |
setUserContext(javax.naming.directory.DirContext userContext,
java.lang.String userBaseRdn)
Sets the context under which user entries can be found. |
javax.security.auth.kerberos.KerberosKey |
verify(PrincipalStoreEntry entry,
byte[] sad)
Uses the principal entry information to load the approapriate SamVerifier and verify the Single-use password. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPKEY_BASE
public static SamSubsystem instance
Constructor Detail |
---|
public SamSubsystem()
Method Detail |
---|
public static SamSubsystem getInstance()
public void setIntegrityChecker(KeyIntegrityChecker keyChecker)
keyChecker
- the KeyIntegrityChecker used by the entire SamSubsystempublic javax.security.auth.kerberos.KerberosKey verify(PrincipalStoreEntry entry, byte[] sad) throws SamException
entry
- the store entry for the Kerberos principalsad
- the single-use authentication data encrypted timestamp payload
SamException
- thrown when there is a failure within the verifier
or a verifier cannot be found.public void setUserContext(javax.naming.directory.DirContext userContext, java.lang.String userBaseRdn)
userContext
- the jndi context under which users can be found.userBaseRdn
- the container with users
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |