public static enum UserInfo.AuthType extends Enum<UserInfo.AuthType>
Enum Constant and Description |
---|
ACTIVEDIRECTORY
User authenticated using AD domain method (User ID contains domain://domainname\username ).
|
EDIRECTORY
User authenticated using eDirectory method (User ID contains LDAP FDN e.g cn=user1,o=org).
|
MANUAL
Manual authentication method - not used in KeyShield SSO Server 1.3, since manual users are verified using LDAP
and User ID contains LDAP FDN.
|
NOT_AUTHENTICATED
user is not authenticated
|
UID
user authenticated by UID.
|
Modifier and Type | Method and Description |
---|---|
String |
code() |
static UserInfo.AuthType |
fromCode(String code) |
static UserInfo.AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserInfo.AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInfo.AuthType ACTIVEDIRECTORY
public static final UserInfo.AuthType EDIRECTORY
public static final UserInfo.AuthType MANUAL
public static final UserInfo.AuthType NOT_AUTHENTICATED
public static final UserInfo.AuthType UID
public static UserInfo.AuthType fromCode(String code)
code
- public static UserInfo.AuthType 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 UserInfo.AuthType[] values()
for (UserInfo.AuthType c : UserInfo.AuthType.values()) System.out.println(c);
Copyright © 2013 TDP Ltd. All Rights Reserved.