Class WSITServerAuthContext

java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthContextBase
com.sun.xml.wss.provider.wsit.WSITServerAuthContext
All Implemented Interfaces:
javax.security.auth.message.config.ServerAuthContext, javax.security.auth.message.ServerAuth

public class WSITServerAuthContext extends WSITAuthContextBase implements javax.security.auth.message.config.ServerAuthContext
Author:
kumar jayanti
  • Field Details

  • Constructor Details

  • Method Details

    • validateRequest

      public javax.security.auth.message.AuthStatus validateRequest(javax.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws javax.security.auth.message.AuthException
      Specified by:
      validateRequest in interface javax.security.auth.message.ServerAuth
      Throws:
      javax.security.auth.message.AuthException
    • secureResponse

      public javax.security.auth.message.AuthStatus secureResponse(javax.security.auth.message.MessageInfo messageInfo, Subject serviceSubject) throws javax.security.auth.message.AuthException
      Specified by:
      secureResponse in interface javax.security.auth.message.ServerAuth
      Throws:
      javax.security.auth.message.AuthException
    • cleanSubject

      public void cleanSubject(javax.security.auth.message.MessageInfo messageInfo, Subject subject) throws javax.security.auth.message.AuthException
      Specified by:
      cleanSubject in interface javax.security.auth.message.ServerAuth
      Throws:
      javax.security.auth.message.AuthException
    • validateRequest

      public com.sun.xml.ws.api.message.Packet validateRequest(com.sun.xml.ws.api.message.Packet packet, Subject clientSubject, Subject serviceSubject, Map<Object,Object> sharedState) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • secureResponse

      public com.sun.xml.ws.api.message.Packet secureResponse(com.sun.xml.ws.api.message.Packet retPacket, Subject serviceSubject, Map sharedState) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • verifyInboundMessage

      protected javax.xml.soap.SOAPMessage verifyInboundMessage(javax.xml.soap.SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, com.sun.xml.wss.XWSSecurityException
      Throws:
      WssSoapFaultException
      com.sun.xml.wss.XWSSecurityException
    • verifyInboundMessage

      protected com.sun.xml.ws.api.message.Message verifyInboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) throws com.sun.xml.wss.XWSSecurityException
      Throws:
      com.sun.xml.wss.XWSSecurityException
    • initializeOutgoingProcessingContext

      protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
      Overrides:
      initializeOutgoingProcessingContext in class WSITAuthContextBase
    • getOutgoingXWSSecurityPolicy

      protected MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
      Overrides:
      getOutgoingXWSSecurityPolicy in class WSITAuthContextBase
    • getOutgoingFaultPolicy

      protected MessagePolicy getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)
    • bindingHasIssuedTokenPolicy

      protected boolean bindingHasIssuedTokenPolicy()
      Overrides:
      bindingHasIssuedTokenPolicy in class WSITAuthContextBase
    • bindingHasSecureConversationPolicy

      protected boolean bindingHasSecureConversationPolicy()
      Overrides:
      bindingHasSecureConversationPolicy in class WSITAuthContextBase
    • bindingHasRMPolicy

      protected boolean bindingHasRMPolicy()
      Overrides:
      bindingHasRMPolicy in class WSITAuthContextBase
    • addOutgoingMP

      protected SecurityPolicyHolder addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addOutgoingMP in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • addIncomingMP

      protected SecurityPolicyHolder addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addIncomingMP in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • addIncomingProtocolPolicy

      protected void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addIncomingProtocolPolicy in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • addOutgoingProtocolPolicy

      protected void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addOutgoingProtocolPolicy in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • addIncomingFaultPolicy

      protected void addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addIncomingFaultPolicy in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • addOutgoingFaultPolicy

      protected void addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault) throws com.sun.xml.ws.policy.PolicyException
      Specified by:
      addOutgoingFaultPolicy in class WSITAuthContextBase
      Throws:
      com.sun.xml.ws.policy.PolicyException
    • getAction

      protected String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming)
      Specified by:
      getAction in class WSITAuthContextBase