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
-
-
Constructor Summary
Constructors Constructor Description HttpsSecurityTokenImpl()
HttpsSecurityTokenImpl(boolean basicAuthentication, String username)
HttpsSecurityTokenImpl(X509Certificate x509Certificate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceorg.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 interfaceSubjectAndPrincipalSecurityToken
- Throws:
WSSecurityException
-
getPrincipal
public Principal getPrincipal() throws WSSecurityException
- Specified by:
getPrincipal
in interfaceSubjectAndPrincipalSecurityToken
- Throws:
WSSecurityException
-
-