I need to secure a SOAP web service (based on Axis2) with this configuration:
- Client tries to consume the service
- Client is redirected to an authentication server for authentication
- If the client authenticates properly, the Authentication Server gives client a SAML token with his attributes (basically a role)
- There is a XACML policy (client can use an operation provided by the web service only if has a proper role) which is evaluated based on the role included in the SAML token.
So I have thought about using WSO2 Identity Server coupled with rampart (I also need WS-Security for encryption and signature). Is it possible to do so? Can you suggest me how?