Class PrefixNamespaceMappingCallback

  • All Implemented Interfaces:
    Callback

    public class PrefixNamespaceMappingCallback
    extends XWSSCallback
    implements Callback
    Deprecated.
    : since XWS 2.0 EA
    Note: This callback has been deprecated and disabled.

    This callback is an optional callback that can be handled by an implementation of CallbackHandler to register any prefix versus namespace-uri mappings that the developer wants to make use of in the security configuration.

    Note: The following prefix-namespace mappings are supported by default and hence do not require to be registered.

    • env : http://schemas.xmlsoap.org/soap/envelope/
    • S : http://schemas.xmlsoap.org/soap/envelope/
    • SOAP-ENV : http://schemas.xmlsoap.org/soap/envelope/
    • ds : http://www.w3.org/2000/09/xmldsig#
    • xenc : http://www.w3.org/2001/04/xmlenc#
    • wsse : http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
    • wsu : http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
    • saml : urn:oasis:names:tc:SAML:1.0:assertion
    • Constructor Detail

      • PrefixNamespaceMappingCallback

        public PrefixNamespaceMappingCallback()
        Deprecated.
    • Method Detail

      • setMappings

        public void setMappings​(Properties mappings)
        Deprecated.
        Set the prefix:namespace-uri mappings to be registered
        Parameters:
        mappings - the Properties to be registered
      • getMappings

        public Properties getMappings()
        Deprecated.
        Returns:
        the prefix:namespace-uri mappings