|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for a module implementing a HTTP authorization scheme.
Copyright (c) SAP AG 2001-2002
| Method Summary | |
boolean |
apply(IRequester requester,
java.lang.String uri,
IRequest request,
java.lang.String headerName)
Calculate the credentials for this HTTP Request |
boolean |
canTriggerAuthentication(IRequester requester)
Return if credentials can trigger HTTP 401 reponses for this requester |
void |
endUse(IRequester requester)
Announce to credentials that they are no longer used for the specified requester. |
java.lang.String |
getName()
Return the name of this authorization scheme |
void |
got(IRequester requester,
IResponse response)
Process authenticate information in the response message, like Authenticate-Info. |
boolean |
setup(IRequester requester,
java.lang.String header)
Set the credentials for this context depending on the header information (received from a 401 response). |
boolean |
setup(IRequester requester,
java.lang.String header,
boolean retry)
Set the credentials for this context depending on the header information (received from a 401 response). |
void |
startUse(IRequester requester)
Announce to credentials that they are used on a new connection for the specified requester. |
| Method Detail |
public java.lang.String getName()
public boolean apply(IRequester requester,
java.lang.String uri,
IRequest request,
java.lang.String headerName)
throws WcmException
uri - of requestrequest - to makeheaderName - of authorization headerrequester - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situation
public boolean setup(IRequester requester,
java.lang.String header)
throws WcmException
header - value from WWW-Authenticate response headerrequester - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situation
public boolean setup(IRequester requester,
java.lang.String header,
boolean retry)
throws WcmException
header - value from WWW-Authenticate response headerretry - true, if the scheme was already tried beforerequester - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situation
public void got(IRequester requester,
IResponse response)
throws WcmException
requester - TBD: Description of the incoming method parameterresponse - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationpublic void startUse(IRequester requester)
requester - to apply credentials topublic void endUse(IRequester requester)
requester - no longer usedpublic boolean canTriggerAuthentication(IRequester requester)
requester - to work with
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||