|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.security.LdapAuthenticationDAObj
public class LdapAuthenticationDAObj
This authentication data service class is a local implementation of AuthenticationDAItf using NCI Directory Server as the data repository.
Constructor Summary | |
---|---|
LdapAuthenticationDAObj()
Constructor for a new LdapAuthenticationDAObj
object. |
Method Summary | |
---|---|
java.lang.String |
getEmail(java.lang.String loginName)
The email address associated with the login name. |
Role[] |
getRole(java.lang.String loginName)
Returns an array of Role objects associated with the login name. |
Role[] |
getRole(java.lang.String loginName,
java.lang.String applicationName)
Returns an array of Role objects associated with the login name and application. |
boolean |
isAuthenticationSuccessful(java.lang.String loginName,
java.lang.String passwd)
Returns the result of the user authentication using a LDAP server as data repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LdapAuthenticationDAObj()
LdapAuthenticationDAObj
object.
Method Detail |
---|
public boolean isAuthenticationSuccessful(java.lang.String loginName, java.lang.String passwd)
isAuthenticationSuccessful
in interface AuthenticationDAItf
loginName
- the login name of the userpasswd
- the password of the user
public Role[] getRole(java.lang.String loginName)
getRole
in interface AuthenticationDAItf
loginName
- the login name of the user
public Role[] getRole(java.lang.String loginName, java.lang.String applicationName)
loginName
- the login name of the userapplication
- name
public java.lang.String getEmail(java.lang.String loginName)
getEmail
in interface AuthenticationDAItf
loginName
- the login name of the user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |