|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICredentials
Interface for a module implementing a HTTP authorization scheme.
Copyright (c) SAP AG 2001-2002
| Method Summary | |
|---|---|
boolean |
apply(IRequester requester,
String uri,
IRequest request,
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. |
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,
String header)
Set the credentials for this context depending on the header information (received from a 401 response). |
boolean |
setup(IRequester requester,
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 |
|---|
String getName()
boolean apply(IRequester requester,
String uri,
IRequest request,
String headerName)
throws WcmException
uri - of requestrequest - to makeheaderName - of authorization headerrequester - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
boolean setup(IRequester requester,
String header)
throws WcmException
header - value from WWW-Authenticate response headerrequester - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
boolean setup(IRequester requester,
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 parameter
WcmException - Exception raised in failure situation
void got(IRequester requester,
IResponse response)
throws WcmException
requester - TBD: Description of the incoming method parameterresponse - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situationvoid startUse(IRequester requester)
requester - to apply credentials tovoid endUse(IRequester requester)
requester - no longer usedboolean canTriggerAuthentication(IRequester requester)
requester - to work with
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||