Class BaseTrustAssociationInterceptor

java.lang.Object
com.ibm.wsspi.security.tai.extension.BaseTrustAssociationInterceptor
All Implemented Interfaces:
com.ibm.wsspi.security.tai.TrustAssociationInterceptor

public abstract class BaseTrustAssociationInterceptor extends Object implements com.ibm.wsspi.security.tai.TrustAssociationInterceptor
This abstract BaseTrustAssociationInterceptor class provides a base implementation of the TrustAssociationInterceptor interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for a new BaseTrustAssociationInterceptor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isTargetInterceptor(javax.servlet.http.HttpServletRequest req)
    Determines the HttpServletRequest protocol if it's either HTTP or SIP and invokes an appropriate isTargetProtocolInterceptor method for either HTTPTrustAssociationInterceptor or SIPTrustAssociationInterceptor implementation.
    com.ibm.wsspi.security.tai.TAIResult
    negotiateValidateandEstablishTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
    Determines the HttpServletRequest and HttpServletResponse protocol if it's either HTTP or SIP and invokes an appropriate negotiateValidateandEstablishProtocolTrust method for either HTTPTrustAssociationInterceptor or SIPTrustAssociationInterceptor implementation.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.ibm.wsspi.security.tai.TrustAssociationInterceptor

    cleanup, getType, getVersion, initialize
  • Constructor Details

    • BaseTrustAssociationInterceptor

      public BaseTrustAssociationInterceptor()
      Constructor for a new BaseTrustAssociationInterceptor
  • Method Details

    • isTargetInterceptor

      public boolean isTargetInterceptor(javax.servlet.http.HttpServletRequest req) throws com.ibm.websphere.security.WebTrustAssociationFailedException
      Determines the HttpServletRequest protocol if it's either HTTP or SIP and invokes an appropriate isTargetProtocolInterceptor method for either HTTPTrustAssociationInterceptor or SIPTrustAssociationInterceptor implementation.
      Specified by:
      isTargetInterceptor in interface com.ibm.wsspi.security.tai.TrustAssociationInterceptor
      Parameters:
      req - HttpServletRequest object
      Throws:
      com.ibm.websphere.security.WebTrustAssociationFailedException
    • negotiateValidateandEstablishTrust

      public com.ibm.wsspi.security.tai.TAIResult negotiateValidateandEstablishTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws com.ibm.websphere.security.WebTrustAssociationFailedException
      Determines the HttpServletRequest and HttpServletResponse protocol if it's either HTTP or SIP and invokes an appropriate negotiateValidateandEstablishProtocolTrust method for either HTTPTrustAssociationInterceptor or SIPTrustAssociationInterceptor implementation.
      Specified by:
      negotiateValidateandEstablishTrust in interface com.ibm.wsspi.security.tai.TrustAssociationInterceptor
      Parameters:
      req - HttpServletRequest object
      resp - HttpServletResponse object
      Throws:
      com.ibm.websphere.security.WebTrustAssociationFailedException