Package interlok.http.apache.credentials
Class ScopedCredential
- java.lang.Object
-
- interlok.http.apache.credentials.ScopedCredential
-
public class ScopedCredential extends java.lang.ObjectWraps aAuthScopeandCredentialsfor insertion into aCredentialsProvider
-
-
Constructor Summary
Constructors Constructor Description ScopedCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.auth.AuthScopeauthenticationScope()protected org.apache.http.auth.Credentialscredentials()AuthScopeBuildergetAuthenticationScope()The authentication scope associated with these credentials.@NotNull(message="No Credentials available to use") @NonNull CredentialsBuildergetCredentials()The credentials.voidsetAuthenticationScope(AuthScopeBuilder authenticationScope)The authentication scope associated with these credentials.voidsetCredentials(@NotNull(message="No Credentials available to use") @NonNull CredentialsBuilder credentials)The credentials.ScopedCredentialwithCredentials(CredentialsBuilder builder)ScopedCredentialwithScope(AuthScopeBuilder scope)
-
-
-
Method Detail
-
authenticationScope
protected org.apache.http.auth.AuthScope authenticationScope()
-
credentials
protected org.apache.http.auth.Credentials credentials()
-
withScope
public ScopedCredential withScope(AuthScopeBuilder scope)
-
withCredentials
public ScopedCredential withCredentials(CredentialsBuilder builder)
-
getAuthenticationScope
public AuthScopeBuilder getAuthenticationScope()
The authentication scope associated with these credentials.
-
setAuthenticationScope
public void setAuthenticationScope(AuthScopeBuilder authenticationScope)
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.
-
-