public abstract class BaseTrustAssociationInterceptor
extends java.lang.Object
implements com.ibm.wsspi.security.tai.TrustAssociationInterceptor
BaseTrustAssociationInterceptor
class provides a base implementation of the TrustAssociationInterceptor
interface.Constructor and Description |
---|
BaseTrustAssociationInterceptor()
Constructor for a new BaseTrustAssociationInterceptor
|
Modifier and Type | Method and 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. |
public BaseTrustAssociationInterceptor()
public boolean isTargetInterceptor(javax.servlet.http.HttpServletRequest req) throws com.ibm.websphere.security.WebTrustAssociationFailedException
HttpServletRequest
protocol if it's either HTTP or SIP and
invokes an appropriate isTargetProtocolInterceptor
method for either HTTPTrustAssociationInterceptor
or SIPTrustAssociationInterceptor
implementation.isTargetInterceptor
in interface com.ibm.wsspi.security.tai.TrustAssociationInterceptor
req
- HttpServletRequest
objectcom.ibm.websphere.security.WebTrustAssociationFailedException
public com.ibm.wsspi.security.tai.TAIResult negotiateValidateandEstablishTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws com.ibm.websphere.security.WebTrustAssociationFailedException
HttpServletRequest
and HttpServletResponse
protocol if it's either HTTP or SIP and
invokes an appropriate negotiateValidateandEstablishProtocolTrust
method for either HTTPTrustAssociationInterceptor
or SIPTrustAssociationInterceptor
implementation.negotiateValidateandEstablishTrust
in interface com.ibm.wsspi.security.tai.TrustAssociationInterceptor
req
- HttpServletRequest
objectresp
- HttpServletResponse
objectcom.ibm.websphere.security.WebTrustAssociationFailedException