|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.security.wss4j.WSS4JUtils
public final class WSS4JUtils
Some common functionality that can be shared between the WSS4JInInterceptor and the UsernameTokenInterceptor.
| Field Summary | |
|---|---|
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
|
| Method Summary | |
|---|---|
static List<org.apache.ws.security.WSSecurityEngineResult> |
fetchAllActionResults(List<org.apache.ws.security.WSSecurityEngineResult> resultList,
int action)
Fetch the result of a given action from a given result list. |
static List<org.apache.ws.security.WSSecurityEngineResult> |
fetchAllActionResults(List<org.apache.ws.security.WSSecurityEngineResult> resultList,
List<Integer> actions)
Fetch the results of a given number of actions action from a given result list. |
static org.apache.ws.security.cache.ReplayCache |
getReplayCache(org.apache.cxf.binding.soap.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public static org.apache.ws.security.cache.ReplayCache getReplayCache(org.apache.cxf.binding.soap.SoapMessage message,
String booleanKey,
String instanceKey)
public static List<org.apache.ws.security.WSSecurityEngineResult> fetchAllActionResults(List<org.apache.ws.security.WSSecurityEngineResult> resultList,
int action)
resultList - The result list to fetch an action fromaction - The action to fetch
public static List<org.apache.ws.security.WSSecurityEngineResult> fetchAllActionResults(List<org.apache.ws.security.WSSecurityEngineResult> resultList,
List<Integer> actions)
resultList - The result list to fetch an action fromactions - The list of actions to fetch
public static String getSafeExceptionMessage(org.apache.ws.security.WSSecurityException ex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||