Package eu.clarin.sru.client
Interface SRURequestAuthenticator
-
public interface SRURequestAuthenticator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateAuthenticationHeaderValue(SRUOperation operation, String endpointURI, Map<String,String> context)Make an HTTP Authentication header value for a SRU request.
-
-
-
Method Detail
-
createAuthenticationHeaderValue
String createAuthenticationHeaderValue(SRUOperation operation, String endpointURI, Map<String,String> context)
Make an HTTP Authentication header value for a SRU request. This method must return a valid HTTP Authentication header value ornullif no authentication for this endpoint and/or operation is required.- Parameters:
operation- the SRU operation for the requestendpointURI- the endpoint base URIcontext- additional authentication context data to provide additional information per SRU requests, may benull- Returns:
- or authentication header value or
null
-
-