Class ScopedCredential


  • public class ScopedCredential
    extends java.lang.Object
    Wraps a AuthScope and Credentials for insertion into a CredentialsProvider
    • Constructor Detail

      • ScopedCredential

        public ScopedCredential()
    • Method Detail

      • authenticationScope

        protected org.apache.http.auth.AuthScope authenticationScope()
      • credentials

        protected org.apache.http.auth.Credentials credentials()
      • 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.