public static enum AuthenticationProviderFactory.AuthMethods extends Enum<AuthenticationProviderFactory.AuthMethods>
Modifier and Type | Method and Description |
---|---|
String |
getAuthMethod() |
static AuthenticationProviderFactory.AuthMethods |
getValidAuthMethod(String authMethodStr) |
static AuthenticationProviderFactory.AuthMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationProviderFactory.AuthMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationProviderFactory.AuthMethods LDAP
public static final AuthenticationProviderFactory.AuthMethods PAM
public static final AuthenticationProviderFactory.AuthMethods CUSTOM
public static final AuthenticationProviderFactory.AuthMethods NONE
public static AuthenticationProviderFactory.AuthMethods[] values()
for (AuthenticationProviderFactory.AuthMethods c : AuthenticationProviderFactory.AuthMethods.values()) System.out.println(c);
public static AuthenticationProviderFactory.AuthMethods 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 String getAuthMethod()
public static AuthenticationProviderFactory.AuthMethods getValidAuthMethod(String authMethodStr) throws AuthenticationException
AuthenticationException
Copyright © 2017 The Apache Software Foundation. All rights reserved.