public enum AuthenticationMethod extends Enum<AuthenticationMethod>
| Modifier and Type | Method and Description |
|---|---|
LoginType |
getLoginType() |
static AuthenticationMethod |
userRequestToAuthenticationMethod(UserRequest userRequest) |
static AuthenticationMethod |
userToAuthenticationMethod(User user) |
static AuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMethod LOCAL
public static final AuthenticationMethod LDAP
public static final AuthenticationMethod OAUTH
public static AuthenticationMethod[] values()
for (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
public static AuthenticationMethod 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 AuthenticationMethod userRequestToAuthenticationMethod(UserRequest userRequest)
public static AuthenticationMethod userToAuthenticationMethod(User user)
public LoginType getLoginType()
Copyright © 2016 Emory University. All rights reserved.