|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustAssociationInterceptor
The following three API's must be implemented when writing an interceptor for TrustAssociation between a third party server and WebSphere. When an interceptor has been configured with WebSphere, the high-level description of the processing engine executed by WebSphere is as follows: 1. Receive an HTTP Request. 2. Choose an interceptor for this request. For every interceptor configured, it checks if it is the appropriate interceptor by calling the method 'isTargetInterceptor' of that interceptor. 3. If the interceptor is a target interceptor, WebSphere validates its trust on the third party server represented by the interceptor by calling the method 'validateEstablishedTrust' of that interceptor. 4. If the trust has been validated successfully, WebSphere retrieves the username of the end-user that submitted the HTTP request by calling the method 'getAuthenticatedUsername' of that interceptor. 5. If a valid username has been retrieved, WebSphere creates the credentials for that user and proceeds with its normal processing.
Method Summary | |
---|---|
java.lang.String |
getAuthenticatedUsername(javax.servlet.http.HttpServletRequest req)
Deprecated. This method is used to retrieve the username of the end client (or the originator of the HTTP request). |
boolean |
isTargetInterceptor(javax.servlet.http.HttpServletRequest req)
Deprecated. Every interceptor should know which HTTP requests originate from the third party server that it is supposed to work with. |
void |
validateEstablishedTrust(javax.servlet.http.HttpServletRequest req)
Deprecated. This method is used to determine whethere trust association can be established between WebSphere and the third party server. |
Method Detail |
---|
boolean isTargetInterceptor(javax.servlet.http.HttpServletRequest req) throws WebTrustAssociationException
WebTrustAssociationException
void validateEstablishedTrust(javax.servlet.http.HttpServletRequest req) throws WebTrustAssociationFailedException
WebTrustAssociationFailedException
java.lang.String getAuthenticatedUsername(javax.servlet.http.HttpServletRequest req) throws WebTrustAssociationUserException
WebTrustAssociationUserException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |