public class WSSecSecurityContextToken extends Object
wsc:SecurityContextToken
into the
wsse:Security
Modifier and Type | Field and Description |
---|---|
protected byte[] |
secret
The symmetric secret associated with the SecurityContextToken
|
Constructor and Description |
---|
WSSecSecurityContextToken() |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier() |
SecurityContextToken |
getSct() |
String |
getSctId() |
byte[] |
getSecret() |
void |
prepare(Document doc,
Crypto crypto) |
void |
prependSCTElementToHeader(Document doc,
WSSecHeader secHeader) |
void |
setIdentifier(String identifier) |
void |
setSct(SecurityContextToken sct) |
void |
setSctId(String sctId) |
protected void |
setSecret(byte[] ephemeralKey) |
void |
setWscVersion(int wscVersion) |
protected byte[] secret
public void prepare(Document doc, Crypto crypto) throws WSSecurityException, ConversationException
public void prependSCTElementToHeader(Document doc, WSSecHeader secHeader) throws WSSecurityException
WSSecurityException
public SecurityContextToken getSct()
public void setSct(SecurityContextToken sct)
sct
- The sct to set.public byte[] getSecret()
protected void setSecret(byte[] ephemeralKey)
ephemeralKey
- The ephemeralKey to set.public String getIdentifier()
public void setIdentifier(String identifier)
identifier
- The identifier to set.public String getSctId()
public void setSctId(String sctId)
sctId
- The sctId to set.public void setWscVersion(int wscVersion)
wscVersion
- The wscVersion to set.Copyright © 2018 JBoss by Red Hat. All rights reserved.