Package eu.clarin.sru.client
Interface SRURequestAuthenticator
-
public interface SRURequestAuthenticator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createAuthenticationHeaderValue(SRUOperation operation, String endpointURI)
Make an HTTP Authentication header value for a SRU request.
-
-
-
Method Detail
-
createAuthenticationHeaderValue
String createAuthenticationHeaderValue(SRUOperation operation, String endpointURI)
Make an HTTP Authentication header value for a SRU request. This method must return a valid HTTP Authentication header value ornull
if no authentication for this endpoint and/or operation is required.- Parameters:
operation
- the SRU operation for the requestendpointURI
- the endpoint base URI- Returns:
- or authentication header value or
null
-
-