|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OpenIDFailure>
org.apache.sling.auth.openid.OpenIDFailure
public enum OpenIDFailure
The OpenIDFailure
defines the OpenID authentication failure
codes which may be set as the
request
parameter for the login form.
j_reason
Note that the
request
attribute provides the name of the constant, which can be converted to the
actual constant by calling the j_reason
OpenIDFailure.valueOf(String)
method. Internationalization is not built into the OpenID authentication
handler. Providers of login forms should implement their own mechanism and
may either use the constant name or the message
of the
constant as a key for translation.
Enum Constant Summary | |
---|---|
ASSOCIATION
Indicates failure to associate with the OpenID provider to validate the identifier. |
|
AUTHENTICATION
Indicates failure of the user to authenticate with the OpenID Provider. |
|
COMMUNICATION
Indicates a generic communication problem with the OpenID Provider. |
|
DISCOVERY
Indicates failure to discover an OpenID Provider for the supplied OpenID identifier. |
|
OTHER
Indicates any other failure during authentication which is not captured by the other failure reasons. |
|
REPOSITORY
Indicates failure to find a matching Repository user for the supplied OpenID identifier. |
|
VERIFICATION
Indicates failure of the verification of the supplied authentication information with the OpenID Provider. |
Method Summary | |
---|---|
String |
toString()
Returns the message set when constructing this instance. |
static OpenIDFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OpenIDFailure[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OpenIDFailure DISCOVERY
public static final OpenIDFailure ASSOCIATION
public static final OpenIDFailure COMMUNICATION
public static final OpenIDFailure AUTHENTICATION
public static final OpenIDFailure VERIFICATION
public static final OpenIDFailure REPOSITORY
public static final OpenIDFailure OTHER
Method Detail |
---|
public static final OpenIDFailure[] values()
for(OpenIDFailure c : OpenIDFailure.values()) System.out.println(c);
public static OpenIDFailure valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
name()
method.
toString
in class Enum<OpenIDFailure>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |