Package org.apache.wss4j.stax.setup
Class ConfigurationConverter
java.lang.Object
org.apache.wss4j.stax.setup.ConfigurationConverter
This utility class converts between a Map<String, Object> and a WSSSecurityProperties class
-
Method Summary
Modifier and TypeMethodDescriptionstatic WSSSecurityPropertiesconvertDerivedReference(String derivedTokenReference) static org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifierconvertKeyIdentifier(String keyIdentifier) static StringgetDefaultX509Identifier(WSSSecurityProperties properties, boolean signature) static CallbackHandlerloadCallbackHandler(String callbackHandlerClass) Load a CallbackHandler instance.static voidparseActions(Map<String, Object> config, WSSSecurityProperties properties) static voidparseBooleanProperties(Map<String, Object> config, WSSSecurityProperties properties) static voidparseCallback(Map<String, Object> config, WSSSecurityProperties properties) static voidparseCrypto(Map<String, Object> config, WSSSecurityProperties properties) static voidparseNonBooleanProperties(Map<String, Object> config, WSSSecurityProperties properties) static voidparseUserProperties(Map<String, Object> config, WSSSecurityProperties properties)
-
Method Details
-
convert
-
parseActions
-
parseUserProperties
-
parseCrypto
-
getDefaultX509Identifier
-
parseCallback
-
loadCallbackHandler
public static CallbackHandler loadCallbackHandler(String callbackHandlerClass) throws WSSecurityException Load a CallbackHandler instance.- Parameters:
callbackHandlerClass- The class name of the CallbackHandler instance- Returns:
- a CallbackHandler instance
- Throws:
WSSecurityException
-
parseBooleanProperties
public static void parseBooleanProperties(Map<String, Object> config, WSSSecurityProperties properties) -
parseNonBooleanProperties
public static void parseNonBooleanProperties(Map<String, Object> config, WSSSecurityProperties properties) -
convertDerivedReference
public static WSSConstants.DerivedKeyTokenReference convertDerivedReference(String derivedTokenReference) -
convertKeyIdentifier
public static org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier convertKeyIdentifier(String keyIdentifier)
-