|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.ManagementServiceSet
Defines a set of services that are used within the iManager framework.
| Field Summary | |
static java.lang.String |
DEFAULT_DEFAULT_PROTOCOL
DEFAULT_DEFAULT_PROTOCOL = VALUE_DEFAULT_PROTOCOL_NDAP. |
static java.lang.String |
DEFAULT_ENABLE_CONTEXTLESS_LOGIN
DEFAULT_ENABLE_CONTEXTLESS_LOGIN = "true". |
static int |
DEFAULT_HASHTABLE_CAPACITY
DEFAULT_HASHTABLE_CAPACITY = 60. |
static java.lang.String |
DEFAULT_SHOW_PROTOCOL
DEFAULT_SHOW_PROTOCOL = "true". |
static java.lang.String |
DEFAULT_SHOW_TREE
DEFAULT_SHOW_TREE = "true". |
static java.lang.String |
DEFAULT_USE_COOKIES
DEFAULT_USE_COOKIES = "false". |
protected AuthContext |
m_authContext
AuthContext object. |
protected boolean |
m_bLoggedIn
Whether this ManagementServiceSet is currently logged in. |
protected com.novell.emframe.fw.authenticator.Profile |
m_defProfile
Default profile. |
protected int |
m_mssType
Type of the ManagementServiceSet. |
protected java.util.HashMap |
m_profileMap
HashMap of profiles using the settings in the AuthClassContext. |
protected javax.servlet.http.HttpSession |
m_session
Current HttpSession. |
static java.lang.String |
SETTING_DEFAULT_PROTOCOL
SETTING_DEFAULT_PROTOCOL = "Authenticate.Form.DefaultProtocol". |
static java.lang.String |
SETTING_DEFAULT_TREE
SETTING_DEFAULT_TREE = "Authenticate.Form.DefaultTree". |
static java.lang.String |
SETTING_ENABLE_CONTEXTLESS_LOGIN
SETTING_ENABLE_CONTEXTLESS_LOGIN = "Authenticate.Form.EnableContextlessLogin". |
static java.lang.String |
SETTING_PUBLIC_PASSWORD
SETTING_PUBLIC_PASSWORD = "Authenticate.Form.PublicPassword.". |
static java.lang.String |
SETTING_PUBLIC_USER
SETTING_PUBLIC_USER = "Authenticate.Form.PublicUser.". |
static java.lang.String |
SETTING_SEARCH_CONTAINERS
SETTING_SEARCH_CONTAINERS = "Authenticate.Form.SearchContainers.". |
static java.lang.String |
SETTING_SHOW_PROTOCOL
SETTING_SHOW_PROTOCOL = "Authenticate.Form.ShowProtocol". |
static java.lang.String |
SETTING_SHOW_TREE
SETTING_SHOW_TREE = "Authenticate.Form.ShowTree". |
static java.lang.String |
SETTING_USE_COOKIES
SETTING_USE_COOKIES = "Authenticate.Form.UseCookies". |
static java.lang.String |
VALUE_DEFAULT_PROTOCOL_LDAP
VALUE_DEFAULT_PROTOCOL_LDAP = "LDAP". |
static java.lang.String |
VALUE_DEFAULT_PROTOCOL_LDAPS
VALUE_DEFAULT_PROTOCOL_LDAPS = "LDAPS". |
static java.lang.String |
VALUE_DEFAULT_PROTOCOL_NDAP
VALUE_DEFAULT_PROTOCOL_NDAP = "NDAP". |
| Fields inherited from interface com.novell.emframe.dev.authenticator.iMgrAuthenticator |
IMGR_AUTH_HASHMAP, IMGR_AUTH_KEYROOT |
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.Object attrKey)
Returns the value to which the specified attribute key is associated with. |
AuthenticationBroker |
getAuthenticationBroker()
Returns the AuthenticationBroker associated with this logged in user. |
DirUtils |
getDirUtils()
Returns the DirUtils object associated with this logged in user. |
java.lang.String |
getGlobalVar(java.lang.String varName)
Returns the value to which the specified attribute key is associated with. |
java.util.Locale |
getLocale()
Returns the user's locale. |
static ManagementServiceSet |
getManagementServiceSet(javax.servlet.http.HttpSession session)
Static method to get the correct ManagementServiceSet based the current HttpSession. |
com.novell.nps.sessionManager.PortalSession |
getSession()
Returns the user's PortalSession. |
java.util.Hashtable |
getSessionCache()
Deprecated. The newer getAttribute(), setAttribute, and removeAttribute() calls should be used. |
void |
removeAttribute(java.lang.Object attrKey)
Removes the attribute key and associated value if present. |
void |
removeGlobalVar(java.lang.String varName)
Removes the attribute key and associated value if present. |
void |
setAttribute(java.lang.Object attrKey,
java.lang.Object attrValue)
Saves the specified attribute value with the specified attribute key. |
void |
setGlobalVar(java.lang.String varName,
java.lang.String val)
Saves the specified attribute value with the specified attribute key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.novell.nps.authentication.AuthenticationEventListener |
loginEvent, postLogoutEvent, preLogoutEvent |
| Methods inherited from interface com.novell.emframe.dev.authenticator.iMgrAuthenticator |
destroy, getAuthContext, init, isAuthenticated, login, login, logout |
| Field Detail |
public static final java.lang.String DEFAULT_DEFAULT_PROTOCOL
public static final java.lang.String DEFAULT_ENABLE_CONTEXTLESS_LOGIN
public static final int DEFAULT_HASHTABLE_CAPACITY
public static final java.lang.String DEFAULT_SHOW_PROTOCOL
public static final java.lang.String DEFAULT_SHOW_TREE
public static final java.lang.String DEFAULT_USE_COOKIES
protected AuthContext m_authContext
protected boolean m_bLoggedIn
protected com.novell.emframe.fw.authenticator.Profile m_defProfile
protected int m_mssType
protected java.util.HashMap m_profileMap
protected javax.servlet.http.HttpSession m_session
public static final java.lang.String SETTING_DEFAULT_PROTOCOL
public static final java.lang.String SETTING_DEFAULT_TREE
public static final java.lang.String SETTING_ENABLE_CONTEXTLESS_LOGIN
public static final java.lang.String SETTING_PUBLIC_PASSWORD
public static final java.lang.String SETTING_PUBLIC_USER
public static final java.lang.String SETTING_SEARCH_CONTAINERS
public static final java.lang.String SETTING_SHOW_PROTOCOL
public static final java.lang.String SETTING_SHOW_TREE
public static final java.lang.String SETTING_USE_COOKIES
public static final java.lang.String VALUE_DEFAULT_PROTOCOL_LDAP
public static final java.lang.String VALUE_DEFAULT_PROTOCOL_LDAPS
public static final java.lang.String VALUE_DEFAULT_PROTOCOL_NDAP
| Method Detail |
public java.lang.Object getAttribute(java.lang.Object attrKey)
getAttribute in interface iMgrAuthenticatorattrKey - Object containing the attribute key whose associated value is to be returned
This may not be null.
setAttribute(java.lang.Object, java.lang.Object),
getGlobalVar(java.lang.String)public AuthenticationBroker getAuthenticationBroker()
public DirUtils getDirUtils()
public java.lang.String getGlobalVar(java.lang.String varName)
varName - String containing the attribute key whose associated value is to be returned
This may not be null.
setGlobalVar(java.lang.String, java.lang.String),
getAttribute(java.lang.Object)public java.util.Locale getLocale()
public static ManagementServiceSet getManagementServiceSet(javax.servlet.http.HttpSession session)
session - The current HttpSession
public com.novell.nps.sessionManager.PortalSession getSession()
public java.util.Hashtable getSessionCache()
getAttribute(java.lang.Object),
setAttribute(java.lang.Object, java.lang.Object),
removeAttribute(java.lang.Object)public void removeAttribute(java.lang.Object attrKey)
attrKey - Object containing the attribute key whose associated value is to be removed
This may not be null.removeGlobalVar(java.lang.String)public void removeGlobalVar(java.lang.String varName)
varName - String containing the attribute key whose associated value is to be removed
This may not be null.removeAttribute(java.lang.Object)public void setAttribute(java.lang.Object attrKey,
java.lang.Object attrValue)
setAttribute in interface iMgrAuthenticatorattrKey - Object containing the attribute key whose associated value is to be set
This may not be null.attrValue - Object value to be saved. This may not be null.getAttribute(java.lang.Object),
setGlobalVar(java.lang.String, java.lang.String)public void setGlobalVar(java.lang.String varName,
java.lang.String val)
varName - String containing the attribute key whose associated value is to be set
This may not be null.val - String value to be saved. This may not be null.getGlobalVar(java.lang.String),
setAttribute(java.lang.Object, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||