Package | Description |
---|---|
com.sun.identity.wss.security |
Defines Web Services Security Token specification and Token interfaces
with their respective implementation classes for different WS-* Security
Tokens.
|
com.sun.identity.wss.security.handler |
Defines classes to handle WS-Security requests.
|
Modifier and Type | Method and Description |
---|---|
static SecurityTokenFactory |
SecurityTokenFactory.getInstance(SSOToken credential)
Returns the Security Token factory instance.
|
static SecurityTokenFactory |
SecurityTokenFactory.getInstance(TokenProvider provider)
Returns the Security Token factory instance.
|
SecurityToken |
TokenProvider.getSecurityToken()
Returns the
SecurityToken for the WS-Security. |
SecurityToken |
SecurityTokenFactory.getSecurityToken(SecurityTokenSpec tokenSpec)
Returns / Creates a security token from the security token specificaion.
|
Element |
SecurityToken.toDocumentElement()
Converts the Security Token into DOM Object.
|
Modifier and Type | Method and Description |
---|---|
Object |
MessageAuthenticator.authenticate(Subject subject,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
Object secureMessage,
boolean isLiberty)
Authenticates the web services client.
|
boolean |
MessageAuthorizer.authorize(Subject subject,
Object secureMessage,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
boolean isLiberty)
Authorizes the web services client.
|
void |
SecureSOAPMessage.decrypt(String keyAlias,
boolean decryptBody,
boolean decryptHeader)
Decrypts the
SOAPMessage for the given security profile. |
void |
SecureSOAPMessage.encrypt(String certAlias,
String encryptionAlgorithm,
int encryptionKeyStrength,
boolean encryptBody,
boolean encryptHeader)
Encrypts the
SOAPMessage for the given security profile. |
void |
SecureSOAPMessage.parseSecurityHeader(Node node)
Parses for the security header.
|
void |
SecureSOAPMessage.setSecurityToken(SecurityToken token)
Sets the security token for securing the soap message.
|
void |
SecureSOAPMessage.sign()
Signs the
SOAPMessage for the given security profile. |
boolean |
SecureSOAPMessage.verifyKerberosTokenSignature(Key secretKey)
Verifies the signature of the SOAP message that has kerberos key.
|
boolean |
SecureSOAPMessage.verifySignature()
Verifies the signature of the SOAP message.
|
Constructor and Description |
---|
SecureSOAPMessage(SOAPMessage soapMessage,
boolean create)
Constructor to create secure SOAP message.
|
SecureSOAPMessage(SOAPMessage soapMessage,
boolean create,
List signedElements)
Constructor to create secure SOAP message.
|
Copyright © 2010-2013, ForgeRock All Rights Reserved.