Package org.apache.wss4j.common.ext
Enum WSSecurityException.ErrorCode
- java.lang.Object
-
- java.lang.Enum<WSSecurityException.ErrorCode>
-
- org.apache.wss4j.common.ext.WSSecurityException.ErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<WSSecurityException.ErrorCode>
- Enclosing class:
- WSSecurityException
public static enum WSSecurityException.ErrorCode extends Enum<WSSecurityException.ErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getQName()
static WSSecurityException.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static WSSecurityException.ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILURE
public static final WSSecurityException.ErrorCode FAILURE
-
UNSUPPORTED_SECURITY_TOKEN
public static final WSSecurityException.ErrorCode UNSUPPORTED_SECURITY_TOKEN
-
UNSUPPORTED_ALGORITHM
public static final WSSecurityException.ErrorCode UNSUPPORTED_ALGORITHM
-
INVALID_SECURITY
public static final WSSecurityException.ErrorCode INVALID_SECURITY
-
INVALID_SECURITY_TOKEN
public static final WSSecurityException.ErrorCode INVALID_SECURITY_TOKEN
-
FAILED_AUTHENTICATION
public static final WSSecurityException.ErrorCode FAILED_AUTHENTICATION
-
FAILED_CHECK
public static final WSSecurityException.ErrorCode FAILED_CHECK
-
SECURITY_TOKEN_UNAVAILABLE
public static final WSSecurityException.ErrorCode SECURITY_TOKEN_UNAVAILABLE
-
MESSAGE_EXPIRED
public static final WSSecurityException.ErrorCode MESSAGE_EXPIRED
-
FAILED_ENCRYPTION
public static final WSSecurityException.ErrorCode FAILED_ENCRYPTION
-
FAILED_SIGNATURE
public static final WSSecurityException.ErrorCode FAILED_SIGNATURE
-
SECURITY_ERROR
public static final WSSecurityException.ErrorCode SECURITY_ERROR
-
-
Method Detail
-
values
public static WSSecurityException.ErrorCode[] 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 (WSSecurityException.ErrorCode c : WSSecurityException.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WSSecurityException.ErrorCode 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
-
getQName
public QName getQName()
-
-