|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This provides an interface for the user manager.
| Method Summary | |
boolean |
addUserMeta(EbiContext ctx,
EbiUserMeta userMeta)
Adds the user metadata. |
EbiUserInfo |
createUser(EbiContext context)
Creates a user info object for the authenticated user associated with the security context. |
boolean |
createUser(EbiContext ctx,
EbiUserInfo userInfo)
Adds the new EbiUserInfo object to the user service's persistence store. |
EbiUserMeta |
getClonedUserMeta(EbiContext ctx)
Gets a EbiUserMeta object for modify. |
int |
getTotalUsers(EbiContext context,
String realmName)
Returns the total number of users that are available for a specified realm. |
EbiUserInfo |
getUserBlobAttributes(EbiContext context,
EbiUserInfo userInfo)
Gets user blob attribute contents. |
EbiUserInfo |
getUserExtendedAttributes(EbiContext context,
EbiUserInfo userInfo,
boolean light)
Gets user extended attributes. |
EbiUserInfo |
getUserInfoByUserID(EbiContext ctx,
String userID)
Gets a user info object by user ID. |
EbiUserInfo |
getUserInfoByUserID(EbiContext ctx,
String userID,
String realmName)
Gets a user info object for specified user. |
EbiUserInfo |
getUserInfoByUserUUID(EbiContext ctx,
String userIID)
Gets a user info object by specified user UUID. |
EbiUserInfo[] |
getUserList(EbiContext ctx)
Deprecated. EbiUserManager.getUserList(EbiContext, String) |
EbiUserInfo[] |
getUserList(EbiContext ctx,
EbiUserQuery query)
Gets a list of user info objects by a specified query. |
EbiUserInfo[] |
getUserList(EbiContext ctx,
String realmName)
Gets a list of user info objects for a specified realm. |
EbiUserMeta |
getUserMeta()
Gets an EbiUserMeta object in read-only mode. |
EbiUserMeta |
getUserMeta(EbiContext ctx)
Gets a EbiUserMeta object in readonly mode. |
boolean |
isBaseAttrSynched(EbiContext ctx)
Determines if user base attributes are synchronized with a directory. |
boolean |
modifyUser(EbiContext ctx,
EbiUserInfo userInfo)
Modifies the user info for an existing user. |
boolean |
modifyUserMeta(EbiContext ctx,
EbiUserMeta userMeta)
Modifies the user metadata. |
boolean |
removeUser(EbiContext ctx,
String userIID)
Remove a user from the user service's persistence store. |
boolean |
removeUser(EbiContext ctx,
String userID,
String realmName)
Remove a user from the user service's persistence store. |
boolean |
removeUserMeta(EbiContext ctx)
Removes the user meta. |
int |
synchBaseAttributes(EbiContext ctx)
Synchronizes user base attributes with a directory server Base attributes include FirstName, LastName and EmailAddress. |
| Method Detail |
public EbiUserInfo getUserInfoByUserID(EbiContext ctx,
String userID,
String realmName)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userID - a user ID.realmName - a realm Name.
public EbiUserInfo getUserInfoByUserID(EbiContext ctx,
String userID)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userID - a user ID.
public EbiUserInfo getUserInfoByUserUUID(EbiContext ctx,
String userIID)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userIID - a user UUID.
public EbiUserInfo createUser(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object
public boolean createUser(EbiContext ctx,
EbiUserInfo userInfo)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext objectusrInfo - an EbiUserInfo object for the new user.
public boolean modifyUser(EbiContext ctx,
EbiUserInfo userInfo)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userInfo - an EbiUserInfo object for the specified user.
public boolean removeUser(EbiContext ctx,
String userID,
String realmName)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userID - a user ID.realmName - (optional) a realm name, if not provided,
it will use the primary realm.
public boolean removeUser(EbiContext ctx,
String userIID)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userIID - a user IID.
public EbiUserInfo[] getUserList(EbiContext ctx,
EbiUserQuery query)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.query - an EbiUserQuery object that contains the search criteria.
public EbiUserInfo[] getUserList(EbiContext ctx,
String realmName)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EboContext object.realmName - a realm name.
public EbiUserInfo[] getUserList(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
EbiUserManager.getUserList(EbiContext, String)
ctx - an EboContext object.
public int getTotalUsers(EbiContext context,
String realmName)
throws EboUnrecoverableSystemException,
EboSecurityException
context - an EbiContext object.realmName - a realm name.
public EbiUserInfo getUserExtendedAttributes(EbiContext context,
EbiUserInfo userInfo,
boolean light)
throws EboUnrecoverableSystemException,
EboSecurityException
context - an EbiContext object.userInfo - an EbiUserInfo object that does not yet fetched
user extended attribute data yet.light - true if not to retrieve user blob attributes.
public EbiUserInfo getUserBlobAttributes(EbiContext context,
EbiUserInfo userInfo)
throws EboUnrecoverableSystemException,
EboSecurityException
context - an EbiContext object.userInfo - an EbiUserInfo object that does not yet fetched
user blob attribute data yet.
public int synchBaseAttributes(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.
public boolean isBaseAttrSynched(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.
public EbiUserMeta getUserMeta()
throws EboUnrecoverableSystemException,
EboSecurityException
this call assumes that the EbiUserMeta object is already cached in the user manager.
public EbiUserMeta getUserMeta(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.
public EbiUserMeta getClonedUserMeta(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.
public boolean addUserMeta(EbiContext ctx,
EbiUserMeta userMeta)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userMeta - an EbiUserMeta object.
public boolean modifyUserMeta(EbiContext ctx,
EbiUserMeta userMeta)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.userMeta - an EbiUserMeta object.
public boolean removeUserMeta(EbiContext ctx)
throws EboUnrecoverableSystemException,
EboSecurityException
ctx - an EbiContext object.
|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||