|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.RegisteredService atg.security.GenericUserAuthority atg.security.RepositoryAccountManager atg.security.LDAPRepositoryAccountManager atg.security.ActiveDirectoryAccountManager
public class ActiveDirectoryAccountManager
An account manager and user authority that works against an MS Active Directory
LDAPRepositoryAccountManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class atg.security.LDAPRepositoryAccountManager |
---|
LDAPRepositoryAccountManager.SecurityCache |
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ActiveDirectoryAccountManager()
|
Method Summary | |
---|---|
RepositoryItem |
getAccountItem(java.lang.String pAccountName,
java.lang.String pDescriptorName)
Returns the repository item corresponding to the specified account name, or null if it doesn't exist. |
java.lang.String[] |
getBaseCNs()
Returns Base CN for where the users live |
atg.service.resourcepool.JNDIEnvironment |
getLoginContext()
Returns The environment to use when logging in a user |
boolean |
login(User pUser,
java.lang.String pLoginName,
java.lang.String pPassword,
java.lang.Object pHashKey)
Makes sure that the user supplied the right username/password pair |
void |
setBaseCNs(java.lang.String[] pBaseCN)
Sets Base CN for where the users live |
void |
setLoginContext(atg.service.resourcepool.JNDIEnvironment pJNDIEnvironment)
Sets The environment to use when logging in a user |
Methods inherited from class atg.nucleus.RegisteredService |
---|
addToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface atg.security.UserAuthority |
---|
addAuthenticationFailedListener, addAuthenticationSucceededListener, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ActiveDirectoryAccountManager()
Method Detail |
---|
public void setLoginContext(atg.service.resourcepool.JNDIEnvironment pJNDIEnvironment)
public atg.service.resourcepool.JNDIEnvironment getLoginContext()
public void setBaseCNs(java.lang.String[] pBaseCN)
public java.lang.String[] getBaseCNs()
public RepositoryItem getAccountItem(java.lang.String pAccountName, java.lang.String pDescriptorName)
This method must always be called from within a transaction.
getAccountItem
in class RepositoryAccountManager
public boolean login(User pUser, java.lang.String pLoginName, java.lang.String pPassword, java.lang.Object pHashKey)
login
in interface LoginUserAuthority
login
in class RepositoryAccountManager
PasswordHasher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |