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
.
NegotiateTrustAssociationInterceptor
Constructor and Description |
---|
NegotiateTrustAssociationInterceptorImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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. |
cleanup, getType, getVersion, init, init, setType, setVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
negotiateAndValidateEstablishedTrust
getAuthenticatedUsername, isTargetInterceptor
public NegotiateTrustAssociationInterceptorImpl()
public final void validateEstablishedTrust(javax.servlet.http.HttpServletRequest req) throws WebTrustAssociationFailedException
When trust association interceptor implements the NegotiateTrustAssociationInterceptor
interface, the validateEstablishedTrust()
is obsoleted. Providers should not
implement this method, the should implement negotiateAndValidateEstablishedTrust()
instead.
validateEstablishedTrust
in interface TrustAssociationInterceptor
req
- HTTP requestWebTrustAssociationFailedException
- Communications failurepublic javax.security.auth.Subject getSubject() throws WebTrustAssociationFailedException
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.
getSubject
in interface NegotiateTrustAssociationInterceptor
javax.security.auth.Subject
WebTrustAssociationFailedException
- Any failure is communicate through exception