com.sun.enterprise.security.webservices
Class WebServiceSecurity

java.lang.Object
  extended by com.sun.enterprise.security.webservices.WebServiceSecurity

public class WebServiceSecurity
extends java.lang.Object

Load Container auth spi. This is for JAXRPC only.

Author:
Harpreet Singh

Constructor Summary
WebServiceSecurity()
           
 
Method Summary
static void auditInvocation(javax.xml.rpc.handler.soap.SOAPMessageContext context, WebServiceEndpoint endpoint, boolean status)
           
static void secureRequest(javax.xml.rpc.handler.soap.SOAPMessageContext context, ClientAuthContext cAC, boolean isAppClient)
           
static void secureResponse(javax.xml.rpc.handler.soap.SOAPMessageContext context, ServerAuthContext sAC)
           
static boolean validateRequest(javax.xml.rpc.handler.soap.SOAPMessageContext context, ServerAuthContext sAC)
           
static boolean validateResponse(javax.xml.rpc.handler.soap.SOAPMessageContext context, ClientAuthContext cAC)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceSecurity

public WebServiceSecurity()
Method Detail

validateRequest

public static boolean validateRequest(javax.xml.rpc.handler.soap.SOAPMessageContext context,
                                      ServerAuthContext sAC)
                               throws AuthException
Throws:
AuthException

secureResponse

public static void secureResponse(javax.xml.rpc.handler.soap.SOAPMessageContext context,
                                  ServerAuthContext sAC)
                           throws AuthException
Throws:
AuthException

secureRequest

public static void secureRequest(javax.xml.rpc.handler.soap.SOAPMessageContext context,
                                 ClientAuthContext cAC,
                                 boolean isAppClient)
                          throws AuthException
Throws:
AuthException

validateResponse

public static boolean validateResponse(javax.xml.rpc.handler.soap.SOAPMessageContext context,
                                       ClientAuthContext cAC)
                                throws AuthException
Throws:
AuthException

auditInvocation

public static void auditInvocation(javax.xml.rpc.handler.soap.SOAPMessageContext context,
                                   WebServiceEndpoint endpoint,
                                   boolean status)


Copyright © 2012 GlassFish Community. All Rights Reserved.