Class HttpsSecurityTokenImpl

java.lang.Object
org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
org.apache.wss4j.stax.impl.securityToken.HttpsSecurityTokenImpl
All Implemented Interfaces:
HttpsSecurityToken, SubjectAndPrincipalSecurityToken, org.apache.xml.security.stax.securityToken.InboundSecurityToken, org.apache.xml.security.stax.securityToken.SecurityToken

public class HttpsSecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken implements HttpsSecurityToken
  • Field Summary

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

    keyTable, tokenUsages
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    HttpsSecurityTokenImpl(boolean basicAuthentication, String username)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.wss4j.stax.impl.securityToken.HttpsSecurityTokenImpl.AuthenticationType
     
     
     
    org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType
     
     

    Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken

    addTokenUsage, addWrappedToken, getElementPath, getKey, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent, verify

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

    getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.xml.security.stax.securityToken.InboundSecurityToken

    addWrappedToken, getElementPath, getPublicKey, getSecretKey, getXMLSecEvent, isIncludedInMessage, verify

    Methods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken

    addTokenUsage, getId, getKeyIdentifier, getKeyWrappingToken, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getWrappedTokens, getX509Certificates, isAsymmetric
  • Constructor Details

    • HttpsSecurityTokenImpl

      public HttpsSecurityTokenImpl()
    • HttpsSecurityTokenImpl

      public HttpsSecurityTokenImpl(X509Certificate x509Certificate)
    • HttpsSecurityTokenImpl

      public HttpsSecurityTokenImpl(boolean basicAuthentication, String username)
  • Method Details

    • getTokenType

      public org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
      Specified by:
      getTokenType in interface org.apache.xml.security.stax.securityToken.SecurityToken
    • getUsername

      public String getUsername()
    • getAuthenticationType

      public org.apache.wss4j.stax.impl.securityToken.HttpsSecurityTokenImpl.AuthenticationType getAuthenticationType()
    • getSubject

      public Subject getSubject() throws org.apache.wss4j.common.ext.WSSecurityException
      Specified by:
      getSubject in interface SubjectAndPrincipalSecurityToken
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException
    • getPrincipal

      public Principal getPrincipal() throws org.apache.wss4j.common.ext.WSSecurityException
      Specified by:
      getPrincipal in interface SubjectAndPrincipalSecurityToken
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException