org.ogf.graap.wsag.wsrf.security
Class WSSecurityHandler
java.lang.Object
org.ogf.graap.wsag.wsrf.security.WSSecurityHandler
- All Implemented Interfaces:
- ServerSecurityHandler
public class WSSecurityHandler
- extends Object
- implements ServerSecurityHandler
The WS-Security handler checks the WS-Security processing results and populates the
WsrfEngine.getWsagMessageContext()
with the client subject, the client certificate and the client
certificate chain. In case security is disabled and anonymous access to the server is permitted the handler
initializes an
- Author:
- Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSecurityHandler
public WSSecurityHandler()
handleRequest
public void handleRequest(Element request)
throws Exception
- Handles the security processing of server requests.
- Specified by:
handleRequest
in interface ServerSecurityHandler
- Parameters:
request
- the SOAP request
- Throws:
Exception
- indicates an error during security processing- See Also:
AxisHandler.handleRequest(org.apache.axiom.om.OMElement)
handleResponse
public void handleResponse(Element response)
throws Exception
- Handles the security processing of server response.
- Specified by:
handleResponse
in interface ServerSecurityHandler
- Parameters:
response
- the SOAP response
- Throws:
Exception
- indicates an error during security processing
Copyright © 2008-2012. All Rights Reserved.