public enum AuthType extends Enum<AuthType>
| Enum Constant and Description |
|---|
ANY
This is sort of like a combination of all three above.
|
BASIC
The user is either presenting HTTP BASIC Authentication credentials or wants the application to initial a
BASIC Auth challenge.
|
COOKIE
The user is presenting a session cookie that they expect to work.
|
NONE
There has been no authentication type specified for this request.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
static AuthType |
getAuthTypeInformation(javax.servlet.http.HttpServletRequest request,
SecurityConfig config) |
static AuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthType NONE
public static final AuthType COOKIE
public static final AuthType BASIC
public static final AuthType ANY
public static final String DEFAULT_ATTRIBUTE
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType 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 AuthType getAuthTypeInformation(javax.servlet.http.HttpServletRequest request, SecurityConfig config)
Copyright © 2018 Atlassian. All rights reserved.