public enum SamType extends Enum<SamType>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static SamType getTypeByOrdinal(int ordinal)
ordinal
- the ordinal value of the ordinalpublic int getOrdinal()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.