public static enum AuthenticationProviderFactory.AuthMethods extends java.lang.Enum<AuthenticationProviderFactory.AuthMethods>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthMethod() |
static AuthenticationProviderFactory.AuthMethods |
getValidAuthMethod(java.lang.String authMethodStr) |
static AuthenticationProviderFactory.AuthMethods |
valueOf(java.lang.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 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(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 java.lang.String getAuthMethod()
public static AuthenticationProviderFactory.AuthMethods getValidAuthMethod(java.lang.String authMethodStr) throws javax.security.sasl.AuthenticationException
javax.security.sasl.AuthenticationException
Copyright © 2012 The Apache Software Foundation