Class SecurityTokenFactoryImpl


  • public class SecurityTokenFactoryImpl
    extends org.apache.xml.security.stax.securityToken.SecurityTokenFactory
    Factory to create InboundSecurityToken Objects from keys in XML
    • Constructor Detail

      • SecurityTokenFactoryImpl

        public SecurityTokenFactoryImpl()
    • Method Detail

      • getSecurityToken

        public org.apache.xml.security.stax.securityToken.InboundSecurityToken getSecurityToken​(org.apache.xml.security.binding.xmldsig.KeyInfoType keyInfoType,
                                                                                                org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyUsage keyInfoUsage,
                                                                                                org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties,
                                                                                                org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext)
                                                                                         throws org.apache.xml.security.exceptions.XMLSecurityException
        Specified by:
        getSecurityToken in class org.apache.xml.security.stax.securityToken.SecurityTokenFactory
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException
      • getSecurityToken

        public static org.apache.xml.security.stax.securityToken.InboundSecurityToken getSecurityToken​(SecurityTokenReferenceType securityTokenReferenceType,
                                                                                                       Crypto crypto,
                                                                                                       CallbackHandler callbackHandler,
                                                                                                       org.apache.xml.security.stax.ext.InboundSecurityContext inboundSecurityContext,
                                                                                                       WSSSecurityProperties securityProperties)
                                                                                                throws org.apache.xml.security.exceptions.XMLSecurityException
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException
      • getSecurityToken

        public static org.apache.xml.security.stax.securityToken.InboundSecurityToken getSecurityToken​(org.apache.xml.security.binding.xmldsig.KeyValueType keyValueType,
                                                                                                       Crypto crypto,
                                                                                                       CallbackHandler callbackHandler,
                                                                                                       org.apache.xml.security.stax.ext.SecurityContext securityContext,
                                                                                                       WSSSecurityProperties securityProperties)
                                                                                                throws org.apache.xml.security.exceptions.XMLSecurityException
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException