public interface ICredentials
Copyright (c) SAP AG 2001-2002
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 parameterWcmException - Exception raised in failure situationboolean setup(IRequester requester, String header) throws WcmException
header - value from WWW-Authenticate response headerrequester - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situationboolean 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 parameterWcmException - Exception raised in failure situationvoid 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 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
|
Copyright 2017 SAP AG Complete Copyright Notice