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 TypeMethodDescriptionbooleanisTargetInterceptor(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.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 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.WebTrustAssociationFailedException Determines 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
-