|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AuthType>
com.atlassian.seraph.auth.AuthType
public enum AuthType
If an authType is specified by the user that doesn't match a specific auth type as defined by this enum, 'NONE' will be returned.
| Enum Constant Summary | |
|---|---|
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. |
|
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ATTRIBUTE
|
| Method Summary | |
|---|---|
static AuthType |
getAuthTypeInformation(javax.servlet.http.HttpServletRequest request,
SecurityConfig config)
|
static AuthType |
valueOf(java.lang.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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AuthType NONE
public static final AuthType COOKIE
public static final AuthType BASIC
public static final AuthType ANY
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ATTRIBUTE
| Method Detail |
|---|
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType 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 name
java.lang.NullPointerException - if the argument is null
public static AuthType getAuthTypeInformation(javax.servlet.http.HttpServletRequest request,
SecurityConfig config)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||