Package org.apache.wss4j.dom.handler
Class WSHandlerConstants
java.lang.Object
org.apache.wss4j.common.ConfigurationConstants
org.apache.wss4j.dom.handler.WSHandlerConstants
This class defines the names, actions, and other string for the deployment
data of the WS handler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is an alternative to specifying an "action" String.static final StringPerform no action.static final StringThe WSHandler stores a resultListin this property.static final Stringinternally used property names to store values inside the message context that must have the same lifetime as a message (request/response model).static final Stringstatic final StringSet the value of this parameter to true to treat passwords as binary values for Username Tokens.Fields inherited from class org.apache.wss4j.common.ConfigurationConstants
ACTION, ACTOR, ADD_INCLUSIVE_PREFIXES, ADD_USERNAMETOKEN_CREATED, ADD_USERNAMETOKEN_NONCE, ALLOW_NAMESPACE_QUALIFIED_PASSWORD_TYPES, ALLOW_RSA15_KEY_TRANSPORT_ALGORITHM, ALLOW_USERNAMETOKEN_NOPASSWORD, CUSTOM_TOKEN, DEC_PROP_FILE, DEC_PROP_REF_ID, DERIVED_ENCRYPTION_KEY_LENGTH, DERIVED_KEY_ITERATIONS, DERIVED_SIGNATURE_KEY_LENGTH, DERIVED_TOKEN_KEY_ID, DERIVED_TOKEN_REFERENCE, ENABLE_REVOCATION, ENABLE_SIGNATURE_CONFIRMATION, ENC_DIGEST_ALGO, ENC_KEY_AGREEMENT_METHOD, ENC_KEY_DERIVATION_FUNCTION, ENC_KEY_DERIVATION_PARAMS, ENC_KEY_ID, ENC_KEY_TRANSPORT, ENC_MGF_ALGO, ENC_PROP_FILE, ENC_PROP_REF_ID, ENC_SYM_ALGO, ENC_SYM_ENC_KEY, ENCRYPT, ENCRYPT_DERIVED, ENCRYPT_WITH_KERBEROS_TOKEN, ENCRYPTION, ENCRYPTION_DERIVED, ENCRYPTION_PARTS, ENCRYPTION_USER, ENCRYPTION_WITH_KERBEROS_TOKEN, EXPAND_XOP_INCLUDE, EXPAND_XOP_INCLUDE_FOR_SIGNATURE, GET_SECRET_KEY_FROM_CALLBACK_HANDLER, HANDLE_CUSTOM_PASSWORD_TYPES, INCLUDE_ENCRYPTION_TOKEN, INCLUDE_SIGNATURE_TOKEN, IS_BSP_COMPLIANT, KERBEROS_TOKEN, MUST_UNDERSTAND, NONCE_CACHE_INSTANCE, OPTIONAL_ENCRYPTION_PARTS, OPTIONAL_SIGNATURE_PARTS, PASSWORD_ENCRYPTOR_INSTANCE, PASSWORD_TYPE, PW_CALLBACK_CLASS, PW_CALLBACK_REF, REQUIRE_SIGNED_ENCRYPTED_DATA_ELEMENTS, REQUIRE_TIMESTAMP_EXPIRES, SAML_CALLBACK_CLASS, SAML_CALLBACK_REF, SAML_ONE_TIME_USE_CACHE_INSTANCE, SAML_TOKEN_SIGNED, SAML_TOKEN_UNSIGNED, SIG_ALGO, SIG_C14N_ALGO, SIG_CERT_CONSTRAINTS_SEPARATOR, SIG_DIGEST_ALGO, SIG_ISSUER_CERT_CONSTRAINTS, SIG_KEY_ID, SIG_PROP_FILE, SIG_PROP_REF_ID, SIG_SUBJECT_CERT_CONSTRAINTS, SIG_VER_PROP_FILE, SIG_VER_PROP_REF_ID, SIGNATURE, SIGNATURE_DERIVED, SIGNATURE_PARTS, SIGNATURE_USER, SIGNATURE_WITH_KERBEROS_TOKEN, STORE_BYTES_IN_ATTACHMENT, TIMESTAMP, TIMESTAMP_CACHE_INSTANCE, TIMESTAMP_PRECISION, TIMESTAMP_STRICT, TTL_FUTURE_TIMESTAMP, TTL_FUTURE_USERNAMETOKEN, TTL_TIMESTAMP, TTL_USERNAMETOKEN, USE_2005_12_NAMESPACE, USE_DERIVED_KEY_FOR_MAC, USE_REQ_SIG_CERT, USE_SINGLE_CERTIFICATE, USER, USERNAME_TOKEN, USERNAME_TOKEN_NO_PASSWORD, USERNAME_TOKEN_SIGNATURE, VALIDATE_SAML_SUBJECT_CONFIRMATION, VALIDATOR_MAP -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegergetKeyIdentifier(String parameter) Get the key identifier type corresponding to the parameter.
-
Field Details
-
NO_SECURITY
Perform no action.- See Also:
-
HANDLER_ACTIONS
This is an alternative to specifying an "action" String. This Object should be a list of HandlerAction objects, which associate an "action" Integer with a corresponding SecurityActionToken object. This allows for more control over keys etc. used for different actions.- See Also:
-
USE_ENCODED_PASSWORDS
Set the value of this parameter to true to treat passwords as binary values for Username Tokens. The default value is "false". This is needed to properly handle password equivalence for UsernameToken passwords. Binary passwords are Base64 encoded so they can be treated as strings in most places, but when the password digest is calculated or a key is derived from the password, the password will be Base64 decoded before being used. This is most useful for hashed passwords as password equivalents.- See Also:
-
RECV_RESULTS
The WSHandler stores a resultListin this property.- See Also:
-
SEND_SIGV
internally used property names to store values inside the message context that must have the same lifetime as a message (request/response model).- See Also:
-
SIG_CONF_DONE
- See Also:
-
-
Method Details
-
getKeyIdentifier
Get the key identifier type corresponding to the parameter. This is intended for internal use only. Valid values for "parameter" are: - "IssuerSerial" - "IssuerSerialQuoteFormat" - "DirectReference" - "X509KeyIdentifier" - "Thumbprint" - "SKIKeyIdentifier" - "KeyValue" - "EmbeddedKeyName" - "EncryptedKeySHA1"- Parameters:
parameter-- Returns:
- the key identifier type corresponding to the parameter
-