|
AdroitLogic UltraESB v1.7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WSSecurityManager
Defines WS-Security parameters to the UltraESB configuration, and serves as the central point of control for securing and verifying of messages
See sample # 204
| Method Summary | |
|---|---|
void |
addDigestUsernameTokenAuthentication(Message msg,
java.lang.String username,
java.lang.String password)
Add a WS-Security Username Token authentication element to the request, with a nonce, created and hashed password |
void |
addDigestUsernameTokenAuthenticationWithTimestamp(Message msg,
java.lang.String username,
java.lang.String password)
Add a WS-Security Username Token authentication element and a Timestamp element to the request, with a nonce, created and hashed password |
void |
addPlainUsernameTokenAuthenticationWithTimestamp(Message msg,
java.lang.String username,
java.lang.String password)
Add a WS-Security Username Token authentication element and a Timestamp elemtn to the request, with a nonce, created and hashed password |
void |
addUsernameTokenAuthentication(Message msg,
java.lang.String username,
java.lang.String password,
boolean hashed,
boolean addNonceAndCreated,
boolean includeTimestamp)
Add a WS-Security Username Token authentication element to the request |
void |
removeSecurityHeader(Message msg)
Remove the WS-Security header from a message |
void |
timestampAndEncryptMessage(Message msg,
java.lang.String encryptionAlias)
Secure message with a timestamp and encrypt - using default timestamp TTL of 5 minutes and key size of 256 |
void |
timestampAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
long millis,
java.lang.String algo)
Secure message with a timestamp and encrypt - using specified timestamp TTL |
void |
timestampAndSignMessage(Message msg,
java.lang.String signatureAlias)
Secure message with a timestamp and signature - using default timestamp TTL of 5 minutes |
void |
timestampAndSignMessage(Message msg,
java.lang.String signatureAlias,
long millis)
Secure message with a timestamp and signature - using specified timestamp TTL |
void |
timestampMessage(Message msg)
Secure message with a timestamp - using default timestamp TTL of 5 minutes |
void |
timestampMessage(Message msg,
long millis)
Secure message with a timestamp - using specified timestamp TTL |
void |
timestampSignAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
java.lang.String signatureAlias)
Secure message with a timestamp, signature and encrypt body - using default timestamp TTL of 5 minutes and keysize of 256 |
void |
timestampSignAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
java.lang.String signatureAlias,
long millis,
java.lang.String algo)
Secure message with a timestamp, signature and encrypt body - using specified timestamp TTL |
void |
verifyTimestampedAndEncryptedMessage(Message msg,
boolean remove)
Verify that the message is timestamped and encrypted |
void |
verifyTimestampedAndSignedMessage(Message msg,
boolean remove)
Verify that the message is timestamped and signed |
void |
verifyTimestampedEncryptedAndSignedMessage(Message msg,
boolean remove)
Verify that the message is timestamped, encrypted and signed |
void |
verifyTimestampedMessage(Message msg,
boolean remove)
Verify that the message is timestamped and the timestamp valid |
void |
verifyUsernameTokenAuthentication(Message msg)
Verify that the message contains UsernameToken authentication information, and that its valid |
void |
verifyUsernameTokenAuthentication(Message msg,
boolean remove)
Verify that the message contains UsernameToken authentication information, and that its valid |
| Method Detail |
|---|
void removeSecurityHeader(Message msg)
msg - the message from which the WS-Security header should be removed
void timestampMessage(Message msg,
long millis)
msg - message to timestampmillis - timestamp TTLvoid timestampMessage(Message msg)
msg - message to timestamp
void timestampAndSignMessage(Message msg,
java.lang.String signatureAlias,
long millis)
msg - message to securesignatureAlias - alias of credentials for signaturemillis - timestamp TTL
void timestampAndSignMessage(Message msg,
java.lang.String signatureAlias)
msg - message to securesignatureAlias - alias of credentials for signature
void timestampAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
long millis,
java.lang.String algo)
msg - message to secureencryptionAlias - alias of credentials for encryptionalgo - encryption algorithm URI or prefix
void timestampAndEncryptMessage(Message msg,
java.lang.String encryptionAlias)
msg - message to secureencryptionAlias - alias of credentials for encryption
void timestampSignAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
java.lang.String signatureAlias,
long millis,
java.lang.String algo)
msg - message to secureencryptionAlias - alias of credentials for encryptionsignatureAlias - alias of credentials for signaturemillis - timestamp TTLalgo - encryption algorithm
void timestampSignAndEncryptMessage(Message msg,
java.lang.String encryptionAlias,
java.lang.String signatureAlias)
msg - message to secureencryptionAlias - alias of credentials for encryptionsignatureAlias - alias of credentials for signature
void addUsernameTokenAuthentication(Message msg,
java.lang.String username,
java.lang.String password,
boolean hashed,
boolean addNonceAndCreated,
boolean includeTimestamp)
msg - message to secureusername - username to addpassword - password to addhashed - true if password is a digestaddNonceAndCreated - true if a nonce and digest should be added (true of hashed)includeTimestamp - should a Timestamp element be included?
void addDigestUsernameTokenAuthentication(Message msg,
java.lang.String username,
java.lang.String password)
msg - message to secureusername - username to addpassword - password to add
void addDigestUsernameTokenAuthenticationWithTimestamp(Message msg,
java.lang.String username,
java.lang.String password)
msg - message to secureusername - username to addpassword - password to add
void addPlainUsernameTokenAuthenticationWithTimestamp(Message msg,
java.lang.String username,
java.lang.String password)
msg - message to secureusername - username to addpassword - password to add
void verifyTimestampedMessage(Message msg,
boolean remove)
msg - message to validateremove - remove security header after processing
void verifyTimestampedAndSignedMessage(Message msg,
boolean remove)
msg - message to validateremove - remove security header after processing
void verifyTimestampedAndEncryptedMessage(Message msg,
boolean remove)
msg - message to validateremove - remove security header after processing
void verifyTimestampedEncryptedAndSignedMessage(Message msg,
boolean remove)
msg - message to validateremove - remove security header after processing
void verifyUsernameTokenAuthentication(Message msg,
boolean remove)
msg - message to validateremove - remove security header after processingvoid verifyUsernameTokenAuthentication(Message msg)
msg - message to validate
|
Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||