Novell exteNd
Director 5.2 API

com.sssw.fw.usermgr.client
Class EboUserHelper

java.lang.Object
 |
 +--com.sssw.fw.usermgr.client.EboUserHelper

public class EboUserHelper
extends Object

This is the user helper class that provides some convenient methods.


Constructor Summary
EboUserHelper()
           
 
Method Summary
static Map getDirectoryUserAttributes(EbiContext context, String userdn, String[] names)
          Retrieves attribute values for a directory user Currently only returns first value for multivalued attribute
static String getUserDataStore()
          Gets the user data store type (e.g., JDBC, JNDI)
static EbiUserInfo getUserInfo(EbiContext context)
          Gets the userInfo from the EbiContext.
static String getUserUUID(EbiContext context)
          Gets the userUUID defined in the user service from the EbiContext.
static boolean isReadOnlyUserSchema()
          specifies whether the user data store schema is read-only within Director
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboUserHelper

public EboUserHelper()
Method Detail

getUserInfo

public static EbiUserInfo getUserInfo(EbiContext context)
                               throws EboUnrecoverableSystemException,
                                      EboSecurityException
Gets the userInfo from the EbiContext.
Returns:
the userInfo for the authenticated user in the EbiContext

getUserUUID

public static String getUserUUID(EbiContext context)
                          throws EboUnrecoverableSystemException,
                                 EboSecurityException
Gets the userUUID defined in the user service from the EbiContext.
Returns:
the userUUID for the authenticated user in the EbiContext

getUserDataStore

public static String getUserDataStore()
Gets the user data store type (e.g., JDBC, JNDI)
Returns:
the user data store type name

isReadOnlyUserSchema

public static boolean isReadOnlyUserSchema()
specifies whether the user data store schema is read-only within Director
Returns:
a boolean indicating whether the user data store schema is read-only

getDirectoryUserAttributes

public static Map getDirectoryUserAttributes(EbiContext context,
                                             String userdn,
                                             String[] names)
Retrieves attribute values for a directory user Currently only returns first value for multivalued attribute
Parameters:
context - an EbiContext object.
attrs - an array of attribute names identifying the attributes for which values should be returned
Returns:
an object array containing values for each requested user attribute

Novell exteNd
Director 5.2 API