public enum MCuserIdentity extends java.lang.Enum<MCuserIdentity>
Enum Constant and Description |
---|
JSON_WEB_TOKEN
JSON Web Token (JWT).
|
KERBEROS_SERVICE_TICKET
Kerberos Service ticket.
|
NO_USER_IDENTITY
Undefined User Identity.
|
SAML_ASSERTION
SAML Assertion.
|
USERNAME
Username as a string in UTF-8.
|
USERNAME_AND_PASSCODE
Username as a string in UTF-8 and passcode.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
User Identity Id
|
static MCuserIdentity |
getUserIdentity(int id) |
java.lang.String |
toString()
User Identity Name
|
static MCuserIdentity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MCuserIdentity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MCuserIdentity NO_USER_IDENTITY
public static final MCuserIdentity USERNAME
public static final MCuserIdentity USERNAME_AND_PASSCODE
public static final MCuserIdentity KERBEROS_SERVICE_TICKET
public static final MCuserIdentity SAML_ASSERTION
public static final MCuserIdentity JSON_WEB_TOKEN
public static MCuserIdentity[] values()
for (MCuserIdentity c : MCuserIdentity.values()) System.out.println(c);
public static MCuserIdentity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MCuserIdentity getUserIdentity(int id)
public int getId()
public java.lang.String toString()
toString
in class java.lang.Enum<MCuserIdentity>