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.AuthScope
protected org.apache.http.auth.Credentials
The authentication scope associated with these credentials.@NotNull(message="No Credentials available to use") @NonNull CredentialsBuilder
The credentials.void
setAuthenticationScope
(AuthScopeBuilder authenticationScope) The authentication scope associated with these credentials.void
setCredentials
(@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.
-