Interface AuthenticationInformation
- All Known Implementing Classes:
BasicAuthenticationInformation,TokenBasedAuthenticationInformation
public interface AuthenticationInformation
Provides authentication information for requests to a federation member.
The information is provided in a form that it can be applied directly to an HTTP request builder or to a collection of HTTP headers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(HttpRequest.Builder builder) Applies the authentication information to the given HTTP request builder.voidApplies the authentication information to the given HTTP headers.voidapplyTo(org.apache.jena.sparql.exec.http.QueryExecutionHTTPBuilder b) Applies the authentication information to the given QueryExecutionHTTPBuilder.voidChecks whether the authentication information is complete.
-
Method Details
-
applyTo
Applies the authentication information to the given HTTP request builder.- Parameters:
builder- HTTP request builder to which the authentication information is applied
-
applyTo
-
applyTo
void applyTo(org.apache.jena.sparql.exec.http.QueryExecutionHTTPBuilder b) Applies the authentication information to the given QueryExecutionHTTPBuilder.- Parameters:
b- QueryExecutionHTTPBuilder to which the authentication information is applied
-
checkForCompleteness
Checks whether the authentication information is complete.- Throws:
IncompleteAuthenticationInformationError- if required authentication information is missing
-