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 java.lang.Object implements com.ibm.wsspi.security.tai.TrustAssociationInterceptor
This abstractBaseTrustAssociationInterceptor
class provides a base implementation of theTrustAssociationInterceptor
interface.
-
-
Constructor Summary
Constructors Constructor Description BaseTrustAssociationInterceptor()
Constructor for a new BaseTrustAssociationInterceptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTargetInterceptor(javax.servlet.http.HttpServletRequest req)
Determines theHttpServletRequest
protocol if it's either HTTP or SIP and invokes an appropriateisTargetProtocolInterceptor
method for eitherHTTPTrustAssociationInterceptor
orSIPTrustAssociationInterceptor
implementation.com.ibm.wsspi.security.tai.TAIResult
negotiateValidateandEstablishTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Determines theHttpServletRequest
andHttpServletResponse
protocol if it's either HTTP or SIP and invokes an appropriatenegotiateValidateandEstablishProtocolTrust
method for eitherHTTPTrustAssociationInterceptor
orSIPTrustAssociationInterceptor
implementation.
-
-
-
Method Detail
-
isTargetInterceptor
public boolean isTargetInterceptor(javax.servlet.http.HttpServletRequest req) throws com.ibm.websphere.security.WebTrustAssociationFailedException
Determines theHttpServletRequest
protocol if it's either HTTP or SIP and invokes an appropriateisTargetProtocolInterceptor
method for eitherHTTPTrustAssociationInterceptor
orSIPTrustAssociationInterceptor
implementation.- Specified by:
isTargetInterceptor
in interfacecom.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 theHttpServletRequest
andHttpServletResponse
protocol if it's either HTTP or SIP and invokes an appropriatenegotiateValidateandEstablishProtocolTrust
method for eitherHTTPTrustAssociationInterceptor
orSIPTrustAssociationInterceptor
implementation.- Specified by:
negotiateValidateandEstablishTrust
in interfacecom.ibm.wsspi.security.tai.TrustAssociationInterceptor
- Parameters:
req
-HttpServletRequest
objectresp
-HttpServletResponse
object- Throws:
com.ibm.websphere.security.WebTrustAssociationFailedException
-
-