public final class SamType extends Object implements Comparable<SamType>
Modifier and Type | Field and Description |
---|---|
static SamType |
PA_SAM_TYPE_APACHE
safe SAM type enum for Apache Software Foundation
|
static SamType |
PA_SAM_TYPE_CRYPTOCARD
safe SAM type enum for CRYPTOCard
|
static SamType |
PA_SAM_TYPE_DIGI_PATH
safe SAM type enum for Digital Pathways
|
static SamType |
PA_SAM_TYPE_ENIGMA
safe SAM type enum for Enigma Logic
|
static SamType |
PA_SAM_TYPE_SECURID
safe SAM type enum for Security Dynamics
|
static SamType |
PA_SAM_TYPE_SKEY
safe SAM type enum for Traditional S/Key
|
static SamType |
PA_SAM_TYPE_SKEY_K0
safe SAM type enum for S/key where KDC has key 0
|
static List<SamType> |
VALUES
a list of all the sam type constants
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SamType that)
Compares this type to another object hopefully one that is of the same
type.
|
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.
|
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 String toString()
public int compareTo(SamType that)
compareTo
in interface Comparable<SamType>
that
- the object to compare this SamType topublic static SamType getTypeByOrdinal(int ordinal)
ordinal
- the ordinal value of the ordinalpublic int getOrdinal()
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.