Package interlok.http.apache.credentials
Class ScopedCredential
java.lang.Object
interlok.http.apache.credentials.ScopedCredential
Wraps a
AuthScope and Credentials for insertion into a CredentialsProvider-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.auth.AuthScopeprotected org.apache.http.auth.CredentialsThe authentication scope associated with these credentials.@NotNull(message="No Credentials available to use") @NonNull CredentialsBuilderThe credentials.voidsetAuthenticationScope(AuthScopeBuilder authenticationScope) The authentication scope associated with these credentials.voidsetCredentials(@NotNull(message="No Credentials available to use") @NonNull CredentialsBuilder credentials) The credentials.withCredentials(CredentialsBuilder builder) withScope(AuthScopeBuilder scope)
-
Constructor Details
-
ScopedCredential
public ScopedCredential()
-
-
Method Details
-
authenticationScope
protected org.apache.http.auth.AuthScope authenticationScope() -
credentials
protected org.apache.http.auth.Credentials credentials() -
withScope
-
withCredentials
-
getAuthenticationScope
The authentication scope associated with these credentials. -
setAuthenticationScope
The authentication scope associated with these credentials. -
getCredentials
@NotNull(message="No Credentials available to use") @NonNull public @NotNull(message="No Credentials available to use") @NonNull CredentialsBuilder getCredentials()The credentials. -
setCredentials
public void setCredentials(@NotNull(message="No Credentials available to use") @NonNull @NotNull(message="No Credentials available to use") @NonNull CredentialsBuilder credentials) The credentials.
-