Tabnine Logo
AuthScheme.getSchemeName
Code IndexAdd Tabnine to your IDE (free)

How to use
getSchemeName
method
in
org.apache.commons.httpclient.auth.AuthScheme

Best Java code snippets using org.apache.commons.httpclient.auth.AuthScheme.getSchemeName (Showing top 20 results out of 315)

origin: commons-httpclient/commons-httpclient

  public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("Auth state: auth requested [");
    buffer.append(this.authRequested);
    buffer.append("]; auth attempted [");
    buffer.append(this.authAttempted);
    if (this.authScheme != null) {
      buffer.append("]; auth scheme [");
      buffer.append(this.authScheme.getSchemeName());
      buffer.append("]; realm [");
      buffer.append(this.authScheme.getRealm());            
    }
    buffer.append("] preemptive [");
    buffer.append(this.preemptive);
    buffer.append("]");
    return buffer.toString();
  }
}
origin: commons-httpclient/commons-httpclient

String id = authscheme.getSchemeName();
if (LOG.isDebugEnabled()) {
  LOG.debug("Using authentication scheme: " + id);
origin: commons-httpclient/commons-httpclient

conn.getProxyHost(), conn.getProxyPort(), 
authscheme.getRealm(), 
authscheme.getSchemeName());  
origin: commons-httpclient/commons-httpclient

host, port, 
authscheme.getRealm(), 
authscheme.getSchemeName());
origin: commons-httpclient/commons-httpclient

  conn.getProxyHost(), conn.getProxyPort(), 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
origin: commons-httpclient/commons-httpclient

  host, port, 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
origin: org.jvnet.hudson/htmlunit

/**
 * Builds a key with the specified data.
 * @param scheme the scheme
 * @param host the server name
 * @param port the server port
 * @param proxy is proxy
 * @return the new key
 */
protected Object buildKey(final AuthScheme scheme, final String host, final int port, final boolean proxy) {
  return scheme.getSchemeName() + " " + scheme.getRealm() + " " + host + ":" + port + " " + proxy;
}
origin: org.jenkins-ci/htmlunit

/**
 * Builds a key with the specified data.
 * @param scheme the scheme
 * @param host the server name
 * @param port the server port
 * @param proxy is proxy
 * @return the new key
 */
protected Object buildKey(final AuthScheme scheme, final String host, final int port, final boolean proxy) {
  return scheme.getSchemeName() + " " + scheme.getRealm() + " " + host + ":" + port + " " + proxy;
}
origin: net.disy.htmlunit/htmlunit

/**
 * Builds a key with the specified data.
 * @param scheme the scheme
 * @param host the server name
 * @param port the server port
 * @param proxy is proxy
 * @return the new key
 */
protected Object buildKey(final AuthScheme scheme, final String host, final int port, final boolean proxy) {
  return scheme.getSchemeName() + " " + scheme.getRealm() + " " + host + ":" + port + " " + proxy;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

  public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("Auth state: auth requested [");
    buffer.append(this.authRequested);
    buffer.append("]; auth attempted [");
    buffer.append(this.authAttempted);
    if (this.authScheme != null) {
      buffer.append("]; auth scheme [");
      buffer.append(this.authScheme.getSchemeName());
      buffer.append("]; realm [");
      buffer.append(this.authScheme.getRealm());            
    }
    buffer.append("] preemptive [");
    buffer.append(this.preemptive);
    buffer.append("]");
    return buffer.toString();
  }
}
origin: org.wso2.commons-httpclient/commons-httpclient

  public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("Auth state: auth requested [");
    buffer.append(this.authRequested);
    buffer.append("]; auth attempted [");
    buffer.append(this.authAttempted);
    if (this.authScheme != null) {
      buffer.append("]; auth scheme [");
      buffer.append(this.authScheme.getSchemeName());
      buffer.append("]; realm [");
      buffer.append(this.authScheme.getRealm());            
    }
    buffer.append("] preemptive [");
    buffer.append(this.preemptive);
    buffer.append("]");
    return buffer.toString();
  }
}
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

  public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("Auth state: auth requested [");
    buffer.append(this.authRequested);
    buffer.append("]; auth attempted [");
    buffer.append(this.authAttempted);
    if (this.authScheme != null) {
      buffer.append("]; auth scheme [");
      buffer.append(this.authScheme.getSchemeName());
      buffer.append("]; realm [");
      buffer.append(this.authScheme.getRealm());            
    }
    buffer.append("] preemptive [");
    buffer.append(this.preemptive);
    buffer.append("]");
    return buffer.toString();
  }
}
origin: org.apache.commons/httpclient

  public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append("Auth state: auth requested [");
    buffer.append(this.authRequested);
    buffer.append("]; auth attempted [");
    buffer.append(this.authAttempted);
    if (this.authScheme != null) {
      buffer.append("]; auth scheme [");
      buffer.append(this.authScheme.getSchemeName());
      buffer.append("]; realm [");
      buffer.append(this.authScheme.getRealm());            
    }
    buffer.append("] preemptive [");
    buffer.append(this.preemptive);
    buffer.append("]");
    return buffer.toString();
  }
}
origin: org.jvnet.hudson/htmlunit

/**
 * @param scheme the request scheme for which Credentials are asked
 * @param scope the configured authorization scope
 * @return <code>true</code> if the scope's scheme matches the provided one
 */
protected boolean matchScheme(final AuthScope scope, final AuthScheme scheme) {
  return scope.getScheme() == AuthScope.ANY_SCHEME || scope.getScheme().equals(scheme.getSchemeName());
}
origin: org.jenkins-ci/htmlunit

/**
 * @param scheme the request scheme for which Credentials are asked
 * @param scope the configured authorization scope
 * @return <code>true</code> if the scope's scheme matches the provided one
 */
protected boolean matchScheme(final AuthScope scope, final AuthScheme scheme) {
  return scope.getScheme() == AuthScope.ANY_SCHEME || scope.getScheme().equals(scheme.getSchemeName());
}
origin: net.disy.htmlunit/htmlunit

/**
 * @param scheme the request scheme for which Credentials are asked
 * @param scope the configured authorization scope
 * @return <code>true</code> if the scope's scheme matches the provided one
 */
protected boolean matchScheme(final AuthScope scope, final AuthScheme scheme) {
  return scope.getScheme() == AuthScope.ANY_SCHEME || scope.getScheme().equals(scheme.getSchemeName());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient

  conn.getProxyHost(), conn.getProxyPort(), 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
origin: org.apache.commons/httpclient

  conn.getProxyHost(), conn.getProxyPort(), 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
origin: org.apache.commons/com.springsource.org.apache.commons.httpclient

  conn.getProxyHost(), conn.getProxyPort(), 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
origin: org.apache.commons/httpclient

  host, port, 
  authscheme.getRealm(), 
  authscheme.getSchemeName());  
if (LOG.isDebugEnabled()) {
  LOG.debug("Authenticating with " + authscope);
org.apache.commons.httpclient.authAuthSchemegetSchemeName

Javadoc

Returns textual designation of the given authentication scheme.

Popular methods of AuthScheme

  • getRealm
    Returns authentication realm. If the concept of an authentication realm is not applicable to the giv
  • isComplete
    Authentication process may involve a series of challenge-response exchanges. This method tests if th
  • authenticate
    Produces an authorization string for the given set of Credentials.
  • isConnectionBased
    Tests if the authentication scheme is provides authorization on a per connection basis instead of us
  • processChallenge
    Processes the given challenge token. Some authentication schemes may involve multiple challenge-resp

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now