IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.security.tai
Class NegotiateTrustAssociationInterceptorImpl

java.lang.Object
  extended by com.ibm.websphere.security.WebSphereBaseTrustAssociationInterceptor
      extended by com.ibm.wsspi.security.tai.NegotiateTrustAssociationInterceptorImpl
All Implemented Interfaces:
TrustAssociationInterceptor, NegotiateTrustAssociationInterceptor

Deprecated. As of 5.1.1, replaced by the new com.ibm.wsspi.security.tai.TrustAssociationInterceptor interface. Implementation using this class are supported by 5.1.1 both at compile time and runtime. Improvement has been made to com.ibm.wsspi.security.tai.TrustAssociationInterceptor and current implementations of this class should be migrated to use the new interface.

public abstract class NegotiateTrustAssociationInterceptorImpl
extends WebSphereBaseTrustAssociationInterceptor
implements NegotiateTrustAssociationInterceptor

This is a convenient abstract base class that extends com.ibm.websphere.security.WebSphereBaseTrustAssociationInterceptor and implements NegotiateTrustAssociationInterceptor and in its implements TrustAssociationInterceptor.validateEstablishedTrust() as no operation and throws WebTrustAssociationFailedException.

Version:
5.0
See Also:
NegotiateTrustAssociationInterceptor

Constructor Summary
NegotiateTrustAssociationInterceptorImpl()
          Deprecated.  
 
Method Summary
 javax.security.auth.Subject getSubject()
          Deprecated.  getSubject method returns a JAAS Subject that represents the caller identity that was asserted by the trust association interceptor along with trusted third party security attributes.
 void validateEstablishedTrust(javax.servlet.http.HttpServletRequest req)
          Deprecated.  When trust association interceptor implements the NegotiateTrustAssociationInterceptor interface, the validateEstablishedTrust() is obsoleted.
 
Methods inherited from class com.ibm.websphere.security.WebSphereBaseTrustAssociationInterceptor
cleanup, getType, getVersion, init, init, setType, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.wsspi.security.tai.NegotiateTrustAssociationInterceptor
negotiateAndValidateEstablishedTrust
 
Methods inherited from interface com.ibm.websphere.security.TrustAssociationInterceptor
getAuthenticatedUsername, isTargetInterceptor
 

Constructor Detail

NegotiateTrustAssociationInterceptorImpl

public NegotiateTrustAssociationInterceptorImpl()
Deprecated. 
Method Detail

validateEstablishedTrust

public final void validateEstablishedTrust(javax.servlet.http.HttpServletRequest req)
                                    throws WebTrustAssociationFailedException
Deprecated. 

When trust association interceptor implements the NegotiateTrustAssociationInterceptor interface, the validateEstablishedTrust() is obsoleted. Providers should not implement this method, the should implement negotiateAndValidateEstablishedTrust() instead.

Specified by:
validateEstablishedTrust in interface TrustAssociationInterceptor
Parameters:
req - HTTP request
Throws:
WebTrustAssociationFailedException - Communications failure

getSubject

public javax.security.auth.Subject getSubject()
                                       throws WebTrustAssociationFailedException
Deprecated. 
Description copied from interface: NegotiateTrustAssociationInterceptor

getSubject method returns a JAAS Subject that represents the caller identity that was asserted by the trust association interceptor along with trusted third party security attributes.

A null Subject may be returned if the trust association interceptor implementation does not support this feature.

Specified by:
getSubject in interface NegotiateTrustAssociationInterceptor
Returns:
javax.security.auth.Subject
Throws:
WebTrustAssociationFailedException - Any failure is communicate through exception

IBM WebSphere Application ServerTM
Release 8