public class WSSecSecurityContextToken extends Object
wsc:SecurityContextToken
into the
wsse:Security
Constructor and Description |
---|
WSSecSecurityContextToken() |
WSSecSecurityContextToken(WSSConfig config) |
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) |
public WSSecSecurityContextToken()
public WSSecSecurityContextToken(WSSConfig config)
public void prepare(Document doc, Crypto crypto) throws WSSecurityException
WSSecurityException
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 © 2016 JBoss by Red Hat. All rights reserved.