com.ibm.wsspi.security.tai

Class NegotiateTrustAssociationInterceptorImpl

  1. java.lang.Object
  2. extended bycom.ibm.websphere.security.WebSphereBaseTrustAssociationInterceptor
  3. extended bycom.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.
  1. public abstract class NegotiateTrustAssociationInterceptorImpl
  2. extends WebSphereBaseTrustAssociationInterceptor
  3. 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

Constructor and Description
NegotiateTrustAssociationInterceptorImpl()
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. 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.
  1. 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

  1. public NegotiateTrustAssociationInterceptorImpl( )
Deprecated.

Method Detail

validateEstablishedTrust

  1. public final void validateEstablishedTrust( javax.servlet.http.HttpServletRequest req)
  2. 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:
Parameters:
req - HTTP request
Throws:
WebTrustAssociationFailedException - Communications failure

getSubject

  1. public javax.security.auth.Subject getSubject( )
  2. 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:
Returns:
javax.security.auth.Subject
Throws:
WebTrustAssociationFailedException - Any failure is communicate through exception