| Package | Description |
|---|---|
| org.apache.directory.server.kerberos.sam |
Provides a subsystem that enables the KDC's Authentication Service (AS)
to use pluggable Single-use Authentication Mechanisms (SAM) during
pre-authentication processing.
|
| org.apache.directory.server.kerberos.shared.store |
Provides the implementation for storing Kerberos principals
and symmetric keys backed by JNDI.
|
| org.apache.directory.shared.kerberos.codec.types |
| Modifier and Type | Field and Description |
|---|---|
private SamType |
SamException.type
the SAM type that caused this exception
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<SamType,SamVerifier> |
SamSubsystem.verifiers
a map of verifiers so we do not need to create a new one every time
|
| Modifier and Type | Method and Description |
|---|---|
SamType |
SamVerifier.getSamType()
Gets the registered SAM algorithm type implemented by this SamVerifier.
|
SamType |
SamException.getSamType()
Gets the registered SAM algorithm type associated with this SamException.
|
| Constructor and Description |
|---|
SamException(SamType type)
Creates a SamException for a specific SamType.
|
SamException(SamType type,
java.lang.String message)
Creates a SamException for a specific SamType, with message.
|
SamException(SamType type,
java.lang.String message,
java.lang.Throwable cause)
Creates a SamException for a specific SamType, with a message and the
cause that resulted in this exception.
|
SamException(SamType type,
java.lang.Throwable cause)
Creates a SamException for a specific SamType, with the cause resulted in
this exception.
|
| Modifier and Type | Field and Description |
|---|---|
private SamType |
PrincipalStoreEntryModifier.samType |
private SamType |
PrincipalStoreEntry.samType |
| Modifier and Type | Method and Description |
|---|---|
SamType |
PrincipalStoreEntry.getSamType()
Returns the single-use authentication (SAM) type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrincipalStoreEntryModifier.setSamType(SamType samType)
Sets the single-use authentication (SAM) type.
|
| Constructor and Description |
|---|
PrincipalStoreEntry(java.lang.String distinguishedName,
java.lang.String commonName,
java.lang.String userId,
javax.security.auth.kerberos.KerberosPrincipal principal,
int keyVersionNumber,
KerberosTime validStart,
KerberosTime validEnd,
KerberosTime passwordEnd,
int maxLife,
int maxRenew,
int kdcFlags,
java.util.Map<EncryptionType,EncryptionKey> keyMap,
java.lang.String realmName,
SamType samType,
boolean disabled,
boolean lockedOut,
KerberosTime expiration) |
| Modifier and Type | Method and Description |
|---|---|
static SamType |
SamType.getTypeByOrdinal(int ordinal)
Gets the ordinal by its ordinal value.
|
static SamType |
SamType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SamType[] |
SamType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|