|
Novell exteNd Director 5.2 API |
||||||||
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
This is the 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 |
getDirectoryDataStore()
Gets the directory data store type (e.g., JDBC, JNDI) |
static EbiRealmUser |
getEbiRealmUser(EbiContext context)
Gets EbiRealmUser principal from context. |
static String |
getICSLogoutPage()
Get the iChain logout page, if enabled. |
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. |
static String |
getShortName(Principal princ)
Gets the shortened version of the username. |
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 String |
getUserIDDontThrow(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 getShortName(Principal princ)
princ
- the principal that contains the shortened name.public static String getUserID(EbiContext context) throws EboUnrecoverableSystemException
public static String getUserIDDontThrow(EbiContext context)
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 static String getICSLogoutPage()
public String encryptPassword(String username, String password)
username
- password
- public static EbiRealmUser getEbiRealmUser(EbiContext context) throws EboUnrecoverableSystemException
context
- an EbiContext that contains the principalEbiRealmUser
public static String getDirectoryDataStore()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |