Class OutboundUsernameSecurityToken

  • All Implemented Interfaces:
    org.apache.xml.security.stax.securityToken.OutboundSecurityToken, org.apache.xml.security.stax.securityToken.SecurityToken

    public class OutboundUsernameSecurityToken
    extends org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
    • Field Summary

      • Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken

        keyTable, tokenUsages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getCreated()  
      byte[] getNonce()  
      String getPassword()  
      Key getSecretKey​(String algorithmURI)  
      String getUsername()  
      • Methods inherited from class org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken

        addWrappedToken, getCustomTokenReference, getKeyIdentifier, getKeyWrappingToken, getProcessor, getTokenType, getWrappedTokens, setCustomTokenReference, setKeyWrappingToken, setProcessor, setTokenType
      • Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken

        addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
      • Methods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken

        addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric
    • Constructor Detail

      • OutboundUsernameSecurityToken

        public OutboundUsernameSecurityToken​(String username,
                                             String password,
                                             String createdTime,
                                             byte[] nonce,
                                             String id,
                                             byte[] salt,
                                             int iterations)
    • Method Detail

      • getUsername

        public String getUsername()
      • getPassword

        public String getPassword()
      • getCreated

        public String getCreated()
      • getNonce

        public byte[] getNonce()
      • getSecretKey

        public Key getSecretKey​(String algorithmURI)
                         throws org.apache.xml.security.exceptions.XMLSecurityException
        Specified by:
        getSecretKey in interface org.apache.xml.security.stax.securityToken.OutboundSecurityToken
        Overrides:
        getSecretKey in class org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException