public static enum MultiMechsAuthenticationHandler.AuthHandlerEnum extends Enum<MultiMechsAuthenticationHandler.AuthHandlerEnum>
Modifier and Type | Method and Description |
---|---|
static Class<? extends MultiMechsAuthenticationHandler> |
getClassFromType(String type) |
String |
getMyClassName() |
int |
getOrder() |
static MultiMechsAuthenticationHandler.AuthHandlerEnum[] |
getOrderedArray()
Since browsers pick auth mechanisms based on the order of the headers
we need to send headers ordered from Strongest to Weakest
|
String |
getType() |
static MultiMechsAuthenticationHandler.AuthHandlerEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiMechsAuthenticationHandler.AuthHandlerEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiMechsAuthenticationHandler.AuthHandlerEnum BASIC
public static final MultiMechsAuthenticationHandler.AuthHandlerEnum KERBEROS
public static final MultiMechsAuthenticationHandler.AuthHandlerEnum MAPRAUTH
public static MultiMechsAuthenticationHandler.AuthHandlerEnum[] values()
for (MultiMechsAuthenticationHandler.AuthHandlerEnum c : MultiMechsAuthenticationHandler.AuthHandlerEnum.values()) System.out.println(c);
public static MultiMechsAuthenticationHandler.AuthHandlerEnum 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 getType()
public String getMyClassName()
public int getOrder()
public static Class<? extends MultiMechsAuthenticationHandler> getClassFromType(String type)
public static MultiMechsAuthenticationHandler.AuthHandlerEnum[] getOrderedArray()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.