org.apache.wss4j.stax.impl.securityToken
Class HttpsSecurityTokenImpl

java.lang.Object
  extended by org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
      extended by org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken
          extended by 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
HttpsSecurityTokenImpl()
           
HttpsSecurityTokenImpl(boolean basicAuthentication, String username)
           
HttpsSecurityTokenImpl(X509Certificate x509Certificate)
           
 
Method Summary
 org.apache.wss4j.stax.impl.securityToken.HttpsSecurityTokenImpl.AuthenticationType getAuthenticationType()
           
 Principal getPrincipal()
           
 Subject getSubject()
           
 org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
           
 String getUsername()
           
 
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 Detail

HttpsSecurityTokenImpl

public HttpsSecurityTokenImpl()

HttpsSecurityTokenImpl

public HttpsSecurityTokenImpl(X509Certificate x509Certificate)

HttpsSecurityTokenImpl

public HttpsSecurityTokenImpl(boolean basicAuthentication,
                              String username)
Method Detail

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 WSSecurityException
Specified by:
getSubject in interface SubjectAndPrincipalSecurityToken
Throws:
WSSecurityException

getPrincipal

public Principal getPrincipal()
                       throws WSSecurityException
Specified by:
getPrincipal in interface SubjectAndPrincipalSecurityToken
Throws:
WSSecurityException


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.