|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AuthenticationMode>
org.apache.shindig.auth.AuthenticationMode
public enum AuthenticationMode
Enumeration of known authentication modes
| Enum Constant Summary | |
|---|---|
COOKIE
The request is from a logged in user of the receiving domain |
|
OAUTH
A fully validated 3-legged OAuth call by a 3rd party on behalf of a user of the receiving domain. |
|
OAUTH_CONSUMER_REQUEST
A call by a validated 3rd party on its own behalf. |
|
SECURITY_TOKEN_URL_PARAMETER
Used by rendered gadgets to authenticate calls to the container |
|
UNAUTHENTICATED
The request has no authentication associated with it. |
|
| Method Summary | |
|---|---|
static AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthenticationMode[] |
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 AuthenticationMode UNAUTHENTICATED
public static final AuthenticationMode SECURITY_TOKEN_URL_PARAMETER
public static final AuthenticationMode OAUTH
public static final AuthenticationMode OAUTH_CONSUMER_REQUEST
public static final AuthenticationMode COOKIE
| Method Detail |
|---|
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||