Package org.apache.wss4j.policy.model
Enum HttpsToken.AuthenticationType
- java.lang.Object
-
- java.lang.Enum<HttpsToken.AuthenticationType>
-
- org.apache.wss4j.policy.model.HttpsToken.AuthenticationType
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpsToken.AuthenticationType>
- Enclosing class:
- HttpsToken
public static enum HttpsToken.AuthenticationType extends Enum<HttpsToken.AuthenticationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HttpBasicAuthentication
HttpDigestAuthentication
RequireClientCertificate
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpsToken.AuthenticationType
lookUp(String name)
static HttpsToken.AuthenticationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpsToken.AuthenticationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HttpBasicAuthentication
public static final HttpsToken.AuthenticationType HttpBasicAuthentication
-
HttpDigestAuthentication
public static final HttpsToken.AuthenticationType HttpDigestAuthentication
-
RequireClientCertificate
public static final HttpsToken.AuthenticationType RequireClientCertificate
-
-
Method Detail
-
values
public static HttpsToken.AuthenticationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpsToken.AuthenticationType c : HttpsToken.AuthenticationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpsToken.AuthenticationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
lookUp
public static HttpsToken.AuthenticationType lookUp(String name)
-
-