public final class WSS4JUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FAILED_AUTHENTICATION_ERR |
static String |
FAILED_CHECK_ERR |
static String |
INVALID_SECURITY_ERR |
static String |
INVALID_SECURITY_TOKEN_ERR |
static String |
MESSAGE_EXPIRED_ERR |
static String |
SECURITY_TOKEN_UNAVAILABLE_ERR |
static String |
UNSUPPORTED_ALGORITHM_ERR |
static String |
UNSUPPORTED_TOKEN_ERR |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.ws.security.cache.ReplayCache |
getReplayCache(SoapMessage message,
String booleanKey,
String instanceKey)
Get a ReplayCache instance.
|
static String |
getSafeExceptionMessage(org.apache.ws.security.WSSecurityException ex)
Map a WSSecurityException FaultCode to a standard error String, so as not to leak
internal configuration to an attacker.
|
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 org.apache.ws.security.cache.ReplayCache getReplayCache(SoapMessage message, String booleanKey, String instanceKey)
public static String getSafeExceptionMessage(org.apache.ws.security.WSSecurityException ex)
Apache CXF