WSO2 SOA Enablement Server provides a high-level API for setting up the runtime configuration of WS-Security. This high-level API is built upon the low-level API described above.
The configuration of message security is managed through the MessageSecurity class (org.systinet.wasp.security.ws.MessageSecurity), for either service endpoint or service client context, or for a single call. The security elements from which you can compose message security at this level are:
Security tokens
UsernameToken
Represents token carrying identity name and password. For more details and an example, please see org.systinet.wasp.security.ws.UsernameToken.
X509Token
Represents token for X.509 identity credentials. For more details and an example, please see org.systinet.wasp.security.ws.X509Token.
SharedSecretToken
Represents token for shared secret key. For more details and an example, please see org.systinet.wasp.security.ws.SharedSecretToken.
Signature
Represents a signature. For more details and an example, please see org.systinet.wasp.security.ws.Signature.
EncryptedData
Represents encrypted data. For more details and an example, please see org.systinet.wasp.security.ws.EncryptedData.