com.novell.emframe.dev.authenticator
Class AuthClassContext

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycom.novell.emframe.dev.authenticator.AuthClassContext
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public final class AuthClassContext
extends java.util.Hashtable
implements java.io.Serializable

AuthClassContext provides iMgrAuthenticator implementors a place to cache information based on a class (or type) of iMgrAuthenticator. AuthClassContext is basically a Hashtable.

The primary difference between the AuthContext and the AuthClassContext is that there exists one AuthContext for every instance of an iMgrAuthenticator. The AutheClassContext only exists once for all instances of a type of iMgrAuthenticator.

So all users logged into to the ManagementServiceSet iMgrAuthenticator would have their own instances of the AuthContext, but would share the AuthClassContext.

Can be used to store system wide configuration data.

See Also:
Serialized Form

Field Summary
protected  java.lang.String m_sName
          String containing the unique name of the iMgrAuthenticator.
 
Constructor Summary
AuthClassContext(java.lang.String sName)
          Constructs an AuthClassContext with the unique name of the iMgrAuthenticator.
 
Method Summary
 java.lang.Object getAttribute(java.lang.String s)
          Returns an attribute for a given key.
 java.lang.String getName()
          Returns the String containing the unique name of the iMgrAuthenticator.
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_sName

protected java.lang.String m_sName
String containing the unique name of the iMgrAuthenticator.

Constructor Detail

AuthClassContext

public AuthClassContext(java.lang.String sName)
Constructs an AuthClassContext with the unique name of the iMgrAuthenticator.

Parameters:
sName - String containing the unique name of the iMgrAuthenticator
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String s)
Returns an attribute for a given key.

Parameters:
s - String containing the key
Returns:
Object value of the key

getName

public java.lang.String getName()
Returns the String containing the unique name of the iMgrAuthenticator.

Returns:
String containing the unique name of the iMgrAuthenticator


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.