|
Novell exteNd Director 4.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sssw.fw.directory.client.EboDirectoryHelper
Directory helper class that provides some convenient methods.
| Constructor Summary | |
EboDirectoryHelper()
|
|
| Method Summary | |
String |
encryptPassword(String username,
String password)
Encrypts a password given a password and username. |
static String |
getLoginName(EbiContext context)
Gets the login name from the EbiContext. |
static String |
getNewUserContainer()
Gets the new user container (dn) that is configured in the config.xml of the directory service. |
protected static Principal |
getPrincipal(EbiContext context)
Gets the security object for the current user. |
static String |
getUpdateUser(EbiContext ctx)
Gets the userUniqueID from the EbiContext for use in UPDATEUSER column. |
static String |
getUserBaseDN()
Gets the user root container (base dn) that is configured in the config.xml of the directory service. |
static String |
getUserFullQualifiedName(EbiContext context)
Gets the authenticated user's full qualified name from the EbiContext. |
static String |
getUserID(EbiContext context)
Gets the userID (i.e. |
static int |
getUserSearchScope()
Gets the user search scope that is configured in the config.xml of the directory service. |
static boolean |
isLoginNewUsersEnabled()
Gets a boolean value indicating whether users should be able to self-register |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public EboDirectoryHelper()
| Method Detail |
public static String getUserID(EbiContext context)
throws EboUnrecoverableSystemException
public static String getUserFullQualifiedName(EbiContext context)
throws EboUnrecoverableSystemException
public static String getUpdateUser(EbiContext ctx)
throws EboUnrecoverableSystemException
public static String getLoginName(EbiContext context)
throws EboUnrecoverableSystemException
public static String getUserBaseDN()
public static int getUserSearchScope()
public static String getNewUserContainer()
public static boolean isLoginNewUsersEnabled()
public String encryptPassword(String username,
String password)
username - Name of the user.password - Password to encrypt.
protected static Principal getPrincipal(EbiContext context)
throws EboException
|
Novell exteNd Director 4.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||