com.ibm.wsspi.security.tai
Class NegotiateTrustAssociationInterceptorImpl
- java.lang.Object
com.ibm.websphere.security.WebSphereBaseTrustAssociationInterceptor
com.ibm.wsspi.security.tai.NegotiateTrustAssociationInterceptorImpl
All implemented interfaces:
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:
Constructor Summary
Constructor and Description |
---|
NegotiateTrustAssociationInterceptorImpl()
Deprecated.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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.
|
|
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.
Specified by:
validateEstablishedTrust
in interface TrustAssociationInterceptor
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
When trust association interceptor implements the
NegotiateTrustAssociationInterceptor
interface, thevalidateEstablishedTrust()
is obsoleted. Providers should not implement this method, the should implementnegotiateAndValidateEstablishedTrust()
instead.