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.TrustAssociationInterceptorThis abstractBaseTrustAssociationInterceptorclass provides a base implementation of theTrustAssociationInterceptorinterface.
-
-
Constructor Summary
Constructors Constructor Description BaseTrustAssociationInterceptor()Constructor for a new BaseTrustAssociationInterceptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTargetInterceptor(javax.servlet.http.HttpServletRequest req)Determines theHttpServletRequestprotocol if it's either HTTP or SIP and invokes an appropriateisTargetProtocolInterceptormethod for eitherHTTPTrustAssociationInterceptororSIPTrustAssociationInterceptorimplementation.com.ibm.wsspi.security.tai.TAIResultnegotiateValidateandEstablishTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Determines theHttpServletRequestandHttpServletResponseprotocol if it's either HTTP or SIP and invokes an appropriatenegotiateValidateandEstablishProtocolTrustmethod for eitherHTTPTrustAssociationInterceptororSIPTrustAssociationInterceptorimplementation.
-
-
-
Method Detail
-
isTargetInterceptor
public boolean isTargetInterceptor(javax.servlet.http.HttpServletRequest req) throws com.ibm.websphere.security.WebTrustAssociationFailedExceptionDetermines theHttpServletRequestprotocol if it's either HTTP or SIP and invokes an appropriateisTargetProtocolInterceptormethod for eitherHTTPTrustAssociationInterceptororSIPTrustAssociationInterceptorimplementation.- Specified by:
isTargetInterceptorin interfacecom.ibm.wsspi.security.tai.TrustAssociationInterceptor- Parameters:
req-HttpServletRequestobject- 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.WebTrustAssociationFailedExceptionDetermines theHttpServletRequestandHttpServletResponseprotocol if it's either HTTP or SIP and invokes an appropriatenegotiateValidateandEstablishProtocolTrustmethod for eitherHTTPTrustAssociationInterceptororSIPTrustAssociationInterceptorimplementation.- Specified by:
negotiateValidateandEstablishTrustin interfacecom.ibm.wsspi.security.tai.TrustAssociationInterceptor- Parameters:
req-HttpServletRequestobjectresp-HttpServletResponseobject- Throws:
com.ibm.websphere.security.WebTrustAssociationFailedException
-
-