|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
User Delegate that is Provided as a facade to access user personalized attributes related information either from the local user manager or through EJB api provided by the user service.
Fields inherited from interface com.sssw.fw.api.EbiDelegate |
SERVICE_LOCAL,
SERVICE_REMOTE |
Method Summary | |
EbiUserInfo |
createUser(EbiContext context)
Creates personalize account for the authenticated user in the security context. |
boolean |
createUser(EbiContext ctx,
EbiUserInfo userInfo)
Creates user info/user profile info for a new user. |
EbiUserInfo |
createUserInfo()
Gets a new user info object for use in user creation. |
int |
getTotalUsers(EbiContext context,
String realmName)
Returns the total number of users that are available for the specified realm. |
EbiUserInfo |
getUserInfoBySvrPrincipal(EbiContext context)
Gets a user info reference for the authenticated principal from provided context. |
EbiUserInfo |
getUserInfoByUserID(EbiContext context,
String userID)
Gets a user profile info. |
EbiUserInfo |
getUserInfoByUserID(EbiContext context,
String userID,
String realmName)
Gets a user profile info. |
EbiUserInfo |
getUserInfoByUserUUID(EbiContext context,
String userIID)
Gets a user profile info. |
EbiUserInfo[] |
getUserList(EbiContext context)
Deprecated. EbiUserDelegate.getUserList(EbiContext, String) |
EbiUserInfo[] |
getUserList(EbiContext context,
EbiUserQuery query)
Gets a list of user info objects. |
EbiUserInfo[] |
getUserList(EbiContext ctx,
String realmName)
Gets a list of user info objects. |
boolean |
isBaseAttrSynched(EbiContext ctx)
Determines if user base attributes are synchronized with a directory. |
boolean |
isValidUserID(EbiContext context,
String userID)
Determines if the userID is valid. |
boolean |
modifyUser(EbiContext context,
EbiUserInfo userInfo)
Modifies user info for an existing user. |
boolean |
removeUser(EbiContext context,
String userIID)
Remove a user. |
boolean |
removeUser(EbiContext ctx,
String userID,
String realmName)
Remove a user. |
int |
synchBaseAttributes(EbiContext ctx)
Synchronizes user base attributes with a directory server Base attributes include FirstName, LastName and EmailAddress. |
Methods implemented from interface com.sssw.fw.api.EbiDelegate |
getName |
Method Detail |
public EbiUserInfo createUserInfo() throws EboUnrecoverableSystemException, EboSecurityException
public EbiUserInfo getUserInfoBySvrPrincipal(EbiContext context) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.public boolean isValidUserID(EbiContext context, String userID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.UserID
- a user IDEbiRealm.isValidUserID(String userID)
public EbiUserInfo getUserInfoByUserID(EbiContext context, String userID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.userID
- a user ID.public EbiUserInfo getUserInfoByUserID(EbiContext context, String userID, String realmName) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.userID
- a user ID.realmName
- a realm name.public EbiUserInfo getUserInfoByUserUUID(EbiContext context, String userIID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.userIID
- a user UUID.public EbiUserInfo[] getUserList(EbiContext context, EbiUserQuery query) throws EboUnrecoverableSystemException, EboSecurityException
This method checks READ permission of PortalSystemAdmin.
context
- 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 context) throws EboUnrecoverableSystemException, EboSecurityException
EbiUserDelegate.getUserList(EbiContext, String)
context
- an EbiContext object.public int getTotalUsers(EbiContext context, String realmName) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.realmName
- a realm name.public EbiUserInfo createUser(EbiContext context) throws EboUnrecoverableSystemException, EboSecurityException
ctx
- an EbiContext objectpublic boolean createUser(EbiContext ctx, EbiUserInfo userInfo) throws EboUnrecoverableSystemException, EboSecurityException
ctx
- an EbiContext objectusrInfo
- an EbiUserInfo object for the new user.public boolean modifyUser(EbiContext context, EbiUserInfo userInfo) throws EboUnrecoverableSystemException, EboSecurityException
context
- 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 context, String userIID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.userIID
- a user IID.public int synchBaseAttributes(EbiContext ctx) throws EboUnrecoverableSystemException, EboSecurityException
ctx
- an EbiContext object.public boolean isBaseAttrSynched(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 |