Class OutboundUsernameSecurityToken
java.lang.Object
org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
org.apache.wss4j.stax.impl.securityToken.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 -
Constructor Summary
ConstructorsConstructorDescriptionOutboundUsernameSecurityToken(String username, String password, String createdTime, byte[] nonce, String id, byte[] salt, int iterations) -
Method Summary
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
addWrappedToken, getCustomTokenReference, getKeyIdentifier, getKeyWrappingToken, getProcessor, getTokenType, getWrappedTokens, setCustomTokenReference, setKeyWrappingToken, setProcessor, setTokenTypeMethods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509CertificatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xml.security.stax.securityToken.SecurityToken
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric
-
Constructor Details
-
OutboundUsernameSecurityToken
-
-
Method Details
-
getUsername
-
getPassword
-
getCreated
-
getNonce
public byte[] getNonce() -
getSecretKey
public Key getSecretKey(String algorithmURI) throws org.apache.xml.security.exceptions.XMLSecurityException - Specified by:
getSecretKeyin interfaceorg.apache.xml.security.stax.securityToken.OutboundSecurityToken- Overrides:
getSecretKeyin classorg.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-