|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SamType>
org.apache.directory.shared.kerberos.codec.types.SamType
public enum SamType
Type safe enumeration of Single-use Authentication Mechanism types
| Enum Constant Summary | |
|---|---|
PA_SAM_TYPE_APACHE
safe SAM type enum for Apache Software Foundation |
|
PA_SAM_TYPE_CRYPTOCARD
safe SAM type enum for CRYPTOCard |
|
PA_SAM_TYPE_DIGI_PATH
safe SAM type enum for Digital Pathways |
|
PA_SAM_TYPE_ENIGMA
safe SAM type enum for Enigma Logic |
|
PA_SAM_TYPE_SECURID
safe SAM type enum for Security Dynamics |
|
PA_SAM_TYPE_SKEY
safe SAM type enum for Traditional S/Key |
|
PA_SAM_TYPE_SKEY_K0
safe SAM type enum for S/key where KDC has key 0 |
|
| Method Summary | |
|---|---|
int |
getOrdinal()
Gets the ordinal value associated with this SAM type. |
static SamType |
getTypeByOrdinal(int ordinal)
Gets the ordinal by its ordinal value. |
String |
toString()
Returns the name of the SamType. |
static SamType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SamType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SamType PA_SAM_TYPE_ENIGMA
public static final SamType PA_SAM_TYPE_DIGI_PATH
public static final SamType PA_SAM_TYPE_SKEY_K0
public static final SamType PA_SAM_TYPE_SKEY
public static final SamType PA_SAM_TYPE_SECURID
public static final SamType PA_SAM_TYPE_CRYPTOCARD
public static final SamType PA_SAM_TYPE_APACHE
| Method Detail |
|---|
public static SamType[] values()
for (SamType c : SamType.values()) System.out.println(c);
public static SamType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<SamType>public static SamType getTypeByOrdinal(int ordinal)
ordinal - the ordinal value of the ordinal
public int getOrdinal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||