org.ogf.graap.wsag.wsrf.security
Class WSSecurityHandler

java.lang.Object
  extended by 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

Constructor Summary
WSSecurityHandler()
           
 
Method Summary
 void handleRequest(Element request)
          Handles the security processing of server requests.
 void handleResponse(Element response)
          Handles the security processing of server response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSecurityHandler

public WSSecurityHandler()
Method Detail

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.