Class ScopedCredential

java.lang.Object
interlok.http.apache.credentials.ScopedCredential

public class ScopedCredential extends Object
Wraps a AuthScope and Credentials for insertion into a CredentialsProvider
  • Constructor Details

    • ScopedCredential

      public ScopedCredential()
  • Method Details

    • 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.