org.apache.wss4j.stax.impl.securityToken
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
| Fields inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken |
keyTable, tokenUsages |
| 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 |
HttpsSecurityTokenImpl
public HttpsSecurityTokenImpl()
HttpsSecurityTokenImpl
public HttpsSecurityTokenImpl(X509Certificate x509Certificate)
HttpsSecurityTokenImpl
public HttpsSecurityTokenImpl(boolean basicAuthentication,
String username)
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.