Skip navigation links

Oracle Application Server HTTPClient Java API Reference
10g Release 3 (10.1.3.1.0)

B32117-01


HTTPClient
Class AuthenticationSchemeBase

java.lang.Object
  extended byHTTPClient.AuthenticationSchemeBase

All Implemented Interfaces:
AuthenticationScheme
Direct Known Subclasses:
NtlmAuthenticationScheme

public abstract class AuthenticationSchemeBase
extends java.lang.Object
implements AuthenticationScheme

The AuthenticationSchemeBase class implements the AuthenticationScheme interface, and is the base implementation for all AuthenticationScheme implementations.

This is a good place for common implementation.


Field Summary

 

Fields inherited from interface HTTPClient.AuthenticationScheme
IS_CONNECTION_ORIENTED

 

Constructor Summary
protected AuthenticationSchemeBase(java.lang.String schemeName, boolean isConnectionOriented)
          Constructor

 

Method Summary
 java.lang.String getSchemeName()
          Determines the name of the scheme.
 boolean isConnectionOriented()
          Determines whether the scheme is connection oriented.
 java.lang.String setSchemeName(java.lang.String schemeName)
          Specifies the name of the scheme.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface HTTPClient.AuthenticationScheme
createAuthorizationInfo, getAuthorization

 

Constructor Detail

AuthenticationSchemeBase

protected AuthenticationSchemeBase(java.lang.String schemeName,
                                   boolean isConnectionOriented)
                            throws java.lang.IllegalArgumentException
Constructor
Parameters:
schemeName - Name of the scheme, must be non-null and non-empty
isConnectionOriented - true if the scheme is connection oriented, otherwise false.
Throws:
java.lang.IllegalArgumentException - Invalid arguments were given.

Method Detail

getSchemeName

public final java.lang.String getSchemeName()
Description copied from interface: AuthenticationScheme
Determines the name of the scheme.
Specified by:
getSchemeName in interface AuthenticationScheme
Returns:
The name of the scheme.
See Also:
AuthenticationScheme.getSchemeName()

setSchemeName

public final java.lang.String setSchemeName(java.lang.String schemeName)
Description copied from interface: AuthenticationScheme
Specifies the name of the scheme.
Specified by:
setSchemeName in interface AuthenticationScheme
Parameters:
schemeName - The name of the scheme.
Returns:
The previous scheme name
See Also:
AuthenticationScheme.setSchemeName(String)

isConnectionOriented

public boolean isConnectionOriented()
Description copied from interface: AuthenticationScheme
Determines whether the scheme is connection oriented.
Specified by:
isConnectionOriented in interface AuthenticationScheme
Returns:
true if scheme is connection oriented, otherwise false.
See Also:
AuthenticationScheme.isConnectionOriented()

Skip navigation links

Oracle Application Server HTTPClient Java API Reference
10g Release 3 (10.1.3.1.0)

B32117-01


Copyright © 2004, 2006, Oracle. All rights reserved.