Uses of Class
com.microsoft.tfs.core.httpclient.Credentials

Packages that use Credentials
com.microsoft.tfs.core   
com.microsoft.tfs.core.config   
com.microsoft.tfs.core.config.httpclient   
com.microsoft.tfs.core.credentials   
com.microsoft.tfs.core.httpclient Classes and interfaces supporting the client side of the HTTP protocol. 
com.microsoft.tfs.core.httpclient.auth Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests. 
com.microsoft.tfs.core.util   
 

Uses of Credentials in com.microsoft.tfs.core
 

Methods in com.microsoft.tfs.core that return Credentials
 Credentials TFSConnection.getCredentials()
           
 

Methods in com.microsoft.tfs.core that return types with arguments of type Credentials
 java.util.concurrent.atomic.AtomicReference<Credentials> TFSConnection.getCredentialsHolder()
           
 

Constructors in com.microsoft.tfs.core with parameters of type Credentials
TFSConfigurationServer(java.net.URI serverURI, Credentials credentials)
          A convenience constructor to create a TFSConfigurationServer from a URI and Credentials.
TFSConfigurationServer(java.net.URI serverURI, Credentials credentials, ConnectionAdvisor advisor)
          The most complete way of creating a TFSConfigurationServer.
TFSTeamProjectCollection(java.net.URI serverURI, Credentials credentials)
          A convenience constructor to create a TFSTeamProjectCollection from a URI.
TFSTeamProjectCollection(java.net.URI serverURI, Credentials credentials, ConnectionAdvisor advisor)
          The most complete way of creating a TFSTeamProjectCollection.
 

Constructor parameters in com.microsoft.tfs.core with type arguments of type Credentials
TFSConfigurationServer(java.net.URI serverURI, java.util.concurrent.atomic.AtomicReference<Credentials> credentialsHolder, ConnectionAdvisor advisor)
          Package-protected constructor that allows TFSConfigurationServer and TFSTeamProjectCollections to share credentials (that may be updated at any time) by way of an AtomicReference.
TFSConnection(java.net.URI serverURI, java.util.concurrent.atomic.AtomicReference<Credentials> credentialsHolder, ConnectionAdvisor advisor, java.lang.String locationServiceRelativePath)
          Creates a TFSConnection.
TFSTeamProjectCollection(java.net.URI serverURI, java.util.concurrent.atomic.AtomicReference<Credentials> credentialsHolder, ConnectionAdvisor advisor)
          Package-protected constructor that allows TFSConfigurationServer and TFSTeamProjectCollections to share credentials (that may be updated at any time) by way of an AtomicReference.
 

Uses of Credentials in com.microsoft.tfs.core.config
 

Methods in com.microsoft.tfs.core.config that return Credentials
 Credentials ConnectionInstanceData.getCredentials()
           
 

Methods in com.microsoft.tfs.core.config that return types with arguments of type Credentials
 java.util.concurrent.atomic.AtomicReference<Credentials> ConnectionInstanceData.getCredentialsHolder()
           
 

Methods in com.microsoft.tfs.core.config with parameters of type Credentials
 void ConnectionInstanceData.setCredentials(Credentials credentials)
          Sets the credentials for this server.
 

Constructor parameters in com.microsoft.tfs.core.config with type arguments of type Credentials
ConnectionInstanceData(java.net.URI serverURI, java.util.concurrent.atomic.AtomicReference<Credentials> credentialsHolder, com.microsoft.tfs.util.GUID sessionId)
          Creates a new ConnectionInstanceData.
 

Uses of Credentials in com.microsoft.tfs.core.config.httpclient
 

Methods in com.microsoft.tfs.core.config.httpclient that return Credentials
protected  Credentials DefaultHTTPClientFactory.createCredentials(ConnectionInstanceData connectionInstanceData)
          Called from DefaultHTTPClientFactory.configureClientCredentials(HttpClient, HttpState, ConnectionInstanceData) to create a new Credentials instance for the specified ConnectionInstanceData.
protected  Credentials DefaultHTTPClientFactory.createProxyCredentials(ConnectionInstanceData connectionInstanceData)
           
 

Uses of Credentials in com.microsoft.tfs.core.credentials
 

Methods in com.microsoft.tfs.core.credentials that return Credentials
 Credentials CachedCredentials.toCredentials()
           
 

Constructors in com.microsoft.tfs.core.credentials with parameters of type Credentials
CachedCredentials(java.net.URI uri, Credentials credentials)
          Creates CachedCredentials from an existing Credentials object.
 

Uses of Credentials in com.microsoft.tfs.core.httpclient
 

Subclasses of Credentials in com.microsoft.tfs.core.httpclient
 class CookieCredentials
          Credentials that are sent as Cookie headers.
 class DefaultNTCredentials
           
 class NTCredentials
          Deprecated. Use UsernamePasswordCredentials with the username set to DOMAIN\\username or username@domain
 class PreemptiveUsernamePasswordCredentials
          A modification of the standard username/password credentials that support preemptive authentication.
 class UsernamePasswordCredentials
           Username and password Credentials.
 class WRAPCredentials
           
 

Fields in com.microsoft.tfs.core.httpclient with type parameters of type Credentials
protected  java.util.HashMap<AuthScope,Credentials> HttpState.credMap
          Map of credentials by realm that this HTTP state contains.
protected  java.util.HashMap<AuthScope,Credentials> HttpState.proxyCred
          Map of proxy credentials by realm that this HTTP state contains
 

Methods in com.microsoft.tfs.core.httpclient that return Credentials
 Credentials HttpState.getCredentials(AuthScope authscope)
          Get the credentials for the given authentication scope.
 Credentials HttpState.getProxyCredentials(AuthScope authscope)
          Get the proxy credentials for the given authentication scope.
 

Methods in com.microsoft.tfs.core.httpclient with parameters of type Credentials
 void HttpState.setCredentials(AuthScope authscope, Credentials credentials)
          Sets the credentials for the given authentication scope.
 void HttpState.setProxyCredentials(AuthScope authscope, Credentials credentials)
          Sets the proxy credentials for the given authentication realm.
 

Uses of Credentials in com.microsoft.tfs.core.httpclient.auth
 

Methods in com.microsoft.tfs.core.httpclient.auth that return Credentials
 Credentials CredentialsProvider.getCredentials(AuthScheme scheme, java.lang.String host, int port, boolean proxy)
          Requests additional authentication credentials.
 

Methods in com.microsoft.tfs.core.httpclient.auth with parameters of type Credentials
protected  java.lang.String WRAPAuthScheme.authenticate(AuthScope authScope, Credentials credentials, HttpMethod method)
           
protected  java.lang.String NegotiateScheme.authenticate(AuthScope authscope, Credentials credentials, HttpMethod method)
           
 java.lang.String NTLMScheme.authenticate(AuthScope authscope, Credentials credentials, HttpMethod method)
           
 java.lang.String DigestScheme.authenticate(AuthScope authscope, Credentials credentials, HttpMethod method)
          Produces a digest authorization string for the given set of Credentials, method name and URI.
 java.lang.String BasicScheme.authenticate(AuthScope authscope, Credentials credentials, HttpMethod method)
          Produces basic authorization string for the given set of Credentials.
protected abstract  java.lang.String AuthorizationHeaderScheme.authenticate(AuthScope authScope, Credentials credentials, HttpMethod method)
          Provides the Authorization or Proxy-Authorization headers for authentication with the given Credentials.
 java.lang.String DigestScheme.authenticate(Credentials credentials, java.lang.String method, java.lang.String uri)
          Deprecated. Use #authenticate(Credentials, HttpMethod)
 void CookieAuthScheme.authenticateHost(AuthScope authscope, Credentials credentials, HttpState state, HttpMethod method)
           
 void AuthorizationHeaderScheme.authenticateHost(AuthScope authScope, Credentials credentials, HttpState state, HttpMethod method)
           
 void AuthScheme.authenticateHost(AuthScope authscope, Credentials credentials, HttpState state, HttpMethod method)
          Configures the given HttpMethod for authentication to the host with the given Credentials.
 void WRAPAuthScheme.authenticateProxy(AuthScope authScope, Credentials credentials, HttpState state, HttpMethod method)
           
 void CookieAuthScheme.authenticateProxy(AuthScope authScope, Credentials credentials, HttpState state, HttpMethod method)
           
 void AuthorizationHeaderScheme.authenticateProxy(AuthScope authScope, Credentials credentials, HttpState state, HttpMethod method)
           
 void AuthScheme.authenticateProxy(AuthScope authScope, Credentials credentials, HttpState state, HttpMethod method)
          Configures the given HttpMethod for authentication to the proxy with the given Credentials.
 AuthScheme AuthChallengeProcessor.processChallenge(AuthState state, java.util.Map challenges, Credentials credentials)
           
 AuthScheme AuthChallengeProcessor.selectAuthScheme(java.util.Map challenges, Credentials credentials)
          Determines the preferred authentication scheme that can be used to respond to the given collection of challenges.
 void AuthState.setPreemptive(Credentials credentials)
          Preemptively assigns a suitable authentication scheme.
 boolean WRAPAuthScheme.supportsCredentials(Credentials credentials)
           
 boolean PreemptiveBasicScheme.supportsCredentials(Credentials credentials)
           
 boolean NegotiateScheme.supportsCredentials(Credentials credentials)
           
 boolean NTLMScheme.supportsCredentials(Credentials credentials)
           
 boolean DigestScheme.supportsCredentials(Credentials credentials)
           
 boolean CookieAuthScheme.supportsCredentials(Credentials credentials)
           
 boolean BasicScheme.supportsCredentials(Credentials credentials)
           
 boolean AuthScheme.supportsCredentials(Credentials credentials)
          Determines whether this auth scheme supports credentials of the given type.
 

Uses of Credentials in com.microsoft.tfs.core.util
 

Methods in com.microsoft.tfs.core.util with parameters of type Credentials
static boolean CredentialsUtils.needsPassword(Credentials credentials)
          Determines whether a set of credentials needs a password: this will be true for credential types which contain a password where the password is unset (null).
 



© 2015 Microsoft. All rights reserved.