public final class AuthClassContext
extends java.util.Hashtable
implements java.io.Serializable
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.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_sName
String containing the unique name of the iMgrAuthenticator.
|
| Constructor and Description |
|---|
AuthClassContext(java.lang.String sName)
Constructs an AuthClassContext with the unique name of the iMgrAuthenticator.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesprotected java.lang.String m_sName
public AuthClassContext(java.lang.String sName)
sName - String containing the unique name of the iMgrAuthenticatorpublic java.lang.String getName()
public java.lang.Object getAttribute(java.lang.String s)
s - String containing the key
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 ${TODAY} ${TSTAMP}.