@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum AuthenticationType extends Enum<AuthenticationType>
Enum Constant and Description |
---|
INTERNAL
The authentication type that indicates that the associated
connection is an internal connection.
|
SASL
The authentication type that indicates that the user will be
performing SASL authentication using some extensible mechanism.
|
SIMPLE
The authentication type that indicates that the user will be
performing simple authentication (i.e., just a password).
|
Modifier and Type | Method and Description |
---|---|
int |
getBERType()
Retrieves the BER type tag associated with this authentication type.
|
String |
toString() |
static AuthenticationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationType SIMPLE
public static final AuthenticationType SASL
public static final AuthenticationType INTERNAL
public static AuthenticationType[] values()
for (AuthenticationType c : AuthenticationType.values()) System.out.println(c);
public static AuthenticationType 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 int getBERType()
public String toString()
toString
in class Enum<AuthenticationType>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.