Uses of Interface
org.apache.http.auth.Credentials
Packages that use Credentials
Package
Description
Client HTTP authentication APIs.
Client HTTP communication APIs.
Client specific HTTP protocol handlers.
Default implementations of standard and common HTTP authentication
schemes.
Default HTTP client implementation.
-
Uses of Credentials in org.apache.http.auth
Classes in org.apache.http.auth that implement CredentialsModifier and TypeClassDescriptionclassCredentialsimplementation based on GSSCredential for Kerberos Authentication.classCredentialsimplementation for Microsoft Windows platforms that includes Windows specific attributes such as name of the domain the user belongs to.classSimpleCredentialsimplementation based on a user name / password pair.Fields in org.apache.http.auth declared as CredentialsModifier and TypeFieldDescriptionprivate CredentialsAuthState.credentialsCredentials selected for authenticationprivate final CredentialsAuthOption.credsMethods in org.apache.http.auth that return CredentialsModifier and TypeMethodDescriptionAuthOption.getCredentials()AuthState.getCredentials()Returns actualCredentials.Methods in org.apache.http.auth with parameters of type CredentialsModifier and TypeMethodDescriptionorg.apache.http.HeaderAuthScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request) Deprecated.org.apache.http.HeaderContextAwareAuthScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Produces an authorization string for the given set ofCredentials.voidAuthState.setCredentials(Credentials credentials) Deprecated.voidAuthState.update(AuthScheme authScheme, Credentials credentials) Updates the auth state withAuthSchemeandCredentials.Constructors in org.apache.http.auth with parameters of type Credentials -
Uses of Credentials in org.apache.http.client
Methods in org.apache.http.client that return CredentialsModifier and TypeMethodDescriptionCredentialsProvider.getCredentials(AuthScope authscope) Get thecredentialsfor the given authentication scope.Methods in org.apache.http.client with parameters of type CredentialsModifier and TypeMethodDescriptionvoidCredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials) Sets thecredentialsfor the given authentication scope. -
Uses of Credentials in org.apache.http.client.protocol
Methods in org.apache.http.client.protocol with parameters of type CredentialsModifier and TypeMethodDescriptionprivate org.apache.http.HeaderRequestAuthenticationBase.authenticate(AuthScheme authScheme, Credentials creds, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Deprecated. -
Uses of Credentials in org.apache.http.impl.auth
Methods in org.apache.http.impl.auth with parameters of type CredentialsModifier and TypeMethodDescriptionorg.apache.http.HeaderAuthSchemeBase.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) static org.apache.http.HeaderBasicScheme.authenticate(Credentials credentials, String charset, boolean proxy) Deprecated.org.apache.http.HeaderBasicScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request) org.apache.http.HeaderBasicScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Produces basic authorization header for the given set ofCredentials.org.apache.http.HeaderDigestScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request) org.apache.http.HeaderDigestScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Produces a digest authorization string for the given set ofCredentials, method name and URI.org.apache.http.HeaderGGSSchemeBase.authenticate(Credentials credentials, org.apache.http.HttpRequest request) org.apache.http.HeaderGGSSchemeBase.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) org.apache.http.HeaderKerberosScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Produces KERBEROS authorization Header based on token created by processChallenge.org.apache.http.HeaderNegotiateScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request) Deprecated.org.apache.http.HeaderNegotiateScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Deprecated.Produces Negotiate authorization Header based on token created by processChallenge.org.apache.http.HeaderNTLMScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request) org.apache.http.HeaderSPNegoScheme.authenticate(Credentials credentials, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Produces SPNEGO authorization Header based on token created by processChallenge.private org.apache.http.HeaderDigestScheme.createDigestHeader(Credentials credentials, org.apache.http.HttpRequest request) Creates digest-response header as defined in RFC2617.private org.apache.http.HeaderHttpAuthenticator.doAuth(AuthScheme authScheme, Credentials creds, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) protected byte[]GGSSchemeBase.generateGSSToken(byte[] input, Oid oid, String authServer, Credentials credentials) protected byte[]GGSSchemeBase.generateToken(byte[] input, String authServer, Credentials credentials) protected byte[]KerberosScheme.generateToken(byte[] input, String authServer, Credentials credentials) protected byte[]NegotiateScheme.generateToken(byte[] input, String authServer, Credentials credentials) Deprecated.protected byte[]SPNegoScheme.generateToken(byte[] input, String authServer, Credentials credentials) -
Uses of Credentials in org.apache.http.impl.client
Fields in org.apache.http.impl.client with type parameters of type CredentialsModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<AuthScope,Credentials> BasicCredentialsProvider.credMapMethods in org.apache.http.impl.client that return CredentialsModifier and TypeMethodDescriptionBasicCredentialsProvider.getCredentials(AuthScope authscope) SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) private static CredentialsBasicCredentialsProvider.matchCredentials(Map<AuthScope, Credentials> map, AuthScope authscope) Find matchingcredentialsfor the given authentication scope.Methods in org.apache.http.impl.client with parameters of type CredentialsModifier and TypeMethodDescriptionvoidBasicCredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials) voidSystemDefaultCredentialsProvider.setCredentials(AuthScope authscope, Credentials credentials) ProxyClient.tunnel(org.apache.http.HttpHost proxy, org.apache.http.HttpHost target, Credentials credentials) Method parameters in org.apache.http.impl.client with type arguments of type CredentialsModifier and TypeMethodDescriptionprivate static CredentialsBasicCredentialsProvider.matchCredentials(Map<AuthScope, Credentials> map, AuthScope authscope) Find matchingcredentialsfor the given authentication scope.
ContextAwareAuthScheme.authenticate(Credentials, HttpRequest, org.apache.http.protocol.HttpContext)