public class WSSecurityException
extends org.apache.xml.security.exceptions.XMLSecurityException
Modifier and Type | Class and Description |
---|---|
static class |
WSSecurityException.ErrorCode |
Modifier and Type | Field and Description |
---|---|
static QName |
FAILED_AUTHENTICATION
The security token could not be authenticated or authorized
|
static String |
FAILED_AUTHENTICATION_ERR |
static QName |
FAILED_CHECK
The signature or decryption was invalid
|
static String |
FAILED_CHECK_ERR |
static QName |
INVALID_SECURITY
An error was discovered processing the
|
static String |
INVALID_SECURITY_ERR |
static QName |
INVALID_SECURITY_TOKEN
An invalid security token was provided
|
static String |
INVALID_SECURITY_TOKEN_ERR |
static QName |
MESSAGE_EXPIRED
The message has expired
|
static String |
MESSAGE_EXPIRED_ERR |
static String |
NS_WSSE10
Fault codes defined in the WSS 1.1 spec under section 12, Error handling
|
static QName |
SECURITY_ERROR
Generic Security error
|
static QName |
SECURITY_TOKEN_UNAVAILABLE
Referenced security token could not be retrieved
|
static String |
SECURITY_TOKEN_UNAVAILABLE_ERR |
static String |
UNIFIED_SECURITY_ERR |
static QName |
UNSUPPORTED_ALGORITHM
An unsupported signature or encryption algorithm was used
|
static String |
UNSUPPORTED_ALGORITHM_ERR |
static QName |
UNSUPPORTED_SECURITY_TOKEN
An unsupported token was provided
|
static String |
UNSUPPORTED_TOKEN_ERR |
Constructor and Description |
---|
WSSecurityException(WSSecurityException.ErrorCode errorCode) |
WSSecurityException(WSSecurityException.ErrorCode errorCode,
Exception exception) |
WSSecurityException(WSSecurityException.ErrorCode errorCode,
Exception exception,
String msgId) |
WSSecurityException(WSSecurityException.ErrorCode errorCode,
Exception exception,
String msgId,
Object[] arguments) |
WSSecurityException(WSSecurityException.ErrorCode errorCode,
String msgId) |
WSSecurityException(WSSecurityException.ErrorCode errorCode,
String msgId,
Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
WSSecurityException.ErrorCode |
getErrorCode()
Get the error code.
|
QName |
getFaultCode()
Get the fault code QName for this associated error code.
|
String |
getSafeExceptionMessage()
Get a "safe" / unified error message, so as not to leak internal configuration
to an attacker.
|
QName |
getSafeFaultCode()
Get the "safe" / unified fault code QName associated with this exception, so as
not to leak internal configuration to an attacker
|
getMsgID, getOriginalException, printStackTrace, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
public static final String NS_WSSE10
public static final QName UNSUPPORTED_SECURITY_TOKEN
public static final QName UNSUPPORTED_ALGORITHM
public static final QName INVALID_SECURITY
public static final QName INVALID_SECURITY_TOKEN
public static final QName FAILED_AUTHENTICATION
public static final QName FAILED_CHECK
public static final QName SECURITY_TOKEN_UNAVAILABLE
public static final QName MESSAGE_EXPIRED
public static final QName SECURITY_ERROR
public static final String UNSUPPORTED_TOKEN_ERR
public static final String UNSUPPORTED_ALGORITHM_ERR
public static final String INVALID_SECURITY_ERR
public static final String INVALID_SECURITY_TOKEN_ERR
public static final String FAILED_AUTHENTICATION_ERR
public static final String FAILED_CHECK_ERR
public static final String SECURITY_TOKEN_UNAVAILABLE_ERR
public static final String MESSAGE_EXPIRED_ERR
public static final String UNIFIED_SECURITY_ERR
public WSSecurityException(WSSecurityException.ErrorCode errorCode)
public WSSecurityException(WSSecurityException.ErrorCode errorCode, String msgId)
public WSSecurityException(WSSecurityException.ErrorCode errorCode, Exception exception)
public WSSecurityException(WSSecurityException.ErrorCode errorCode, Exception exception, String msgId)
public WSSecurityException(WSSecurityException.ErrorCode errorCode, Exception exception, String msgId, Object[] arguments)
public WSSecurityException(WSSecurityException.ErrorCode errorCode, String msgId, Object[] arguments)
public WSSecurityException.ErrorCode getErrorCode()
public QName getFaultCode()
public String getSafeExceptionMessage()
public QName getSafeFaultCode()
Copyright © 2017 JBoss by Red Hat. All rights reserved.