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
ConstructorsConstructorDescriptionConstructor for a new BaseTrustAssociationInterceptor -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.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 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
-