java.lang.Object | +--com.ibm.epic.ams.AMS.AMSBean
Field Summary | |
static java.lang.String |
copyrightNotice
Copyright statement |
com.ibm.epic.LogTrace.EpicLog |
exceptionLog
|
com.ibm.epic.trace.client.EpicTraceClient |
traceClient
|
Constructor Summary | |
AMSBean()
|
Method Summary | |
void |
addSolutionsForUser(java.lang.String uid,
java.util.Hashtable solData)
This method adds solutions and roles to the specified user. |
void |
addUser(java.util.Hashtable userData)
Adds a user specified in the given Hashtable to LDAP. |
void |
addUserRoles(java.lang.String uid,
java.util.Hashtable roleData)
This method adds the given roles for the given solution to the specified user. |
void |
changeUserPassword(java.lang.String uid,
java.lang.String oldPwd,
java.lang.String newPwd)
Changes the user's password to the specified new password. |
java.lang.String |
clientAuthenticate(java.lang.String userID)
Performs client authentication for given userID Creation date: (2/10/01 11:15:20 AM) |
java.lang.String |
clientAuthenticate(java.lang.String userID,
java.lang.String passwd)
Performs client authentication with given userID and password Creation date: (2/10/01 11:17:04 AM) |
boolean |
clientLogout(java.lang.String userId)
Logout the userId Creation date: (2/10/01 11:19:55 AM) |
void |
deleteUser(java.lang.String uid)
This method deletes the specified user from LDAP and PD. |
void |
ejbActivate()
ejbActivate method comment |
void |
ejbCreate()
ejbCreate method comment |
void |
ejbPassivate()
ejbPassivate method comment |
void |
ejbRemove()
ejbRemove method comment |
java.util.Hashtable |
getActivities()
This method returns all activities and roles in a hashtable, where the key is the Activity name and the value is the role Creation date: (2/22/01 3:47:25 PM) |
java.lang.String |
getActivityRole(java.lang.String activity)
This method returns the role specified in LDAP for the given activity. |
java.util.Hashtable |
getAssignments(java.lang.String solution,
java.lang.String awarelet)
This method returns a hashtable of the assignments for the given solution and awarelet. |
java.util.Hashtable |
getAwarelets(java.lang.String solution)
This method returns a hashtable with the awarelet and its attributes for the given solution. |
java.util.Hashtable |
getProcessDefinitions(java.lang.String solution)
Returns a hashtable with the ProcessDefinitions and its attributes for the given solution. |
java.lang.String[] |
getRoles(java.lang.String userId,
java.lang.String solution)
Get the roles for a given solution and check authorization for the user Creation date: (2/10/01 11:23:48 AM) |
javax.ejb.SessionContext |
getSessionContext()
getSessionContext method comment |
com.ibm.epic.ams.SolutionInfo[] |
getSolutions()
Returns an array of all SolutionInfos defined in LDAP Creation date: (2/10/01 11:26:28 AM) |
java.util.Vector |
getUsers(java.lang.String solution,
java.lang.String role)
This method returns a Vector of all userIDs that are assigned to the given solution and role. |
void |
removeSolutionFromUser(java.lang.String uid,
java.lang.String solution)
This method removes the given solution from the specified user. |
void |
removeUserRoles(java.lang.String uid,
java.util.Hashtable roleData)
This method removes the given roles for the given solution from the specified user. |
void |
replaceUserRoles(java.lang.String uid,
java.util.Hashtable roleData)
This method replaces the roles for the specified user and solution in LDAP and PD. |
void |
setPassword(java.lang.String uid,
java.lang.String newPwd)
Changes the user's password to the specified new password. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext method comment |
java.lang.String |
ssoPassThru(java.lang.String ltpaCookie)
Gets the UserID from the input ltpa cookie and authenticates the user Creation date: (11/15/00 4:30:54 PM) |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String copyrightNotice
public com.ibm.epic.trace.client.EpicTraceClient traceClient
public com.ibm.epic.LogTrace.EpicLog exceptionLog
Constructor Detail |
public AMSBean()
Method Detail |
public void addSolutionsForUser(java.lang.String uid, java.util.Hashtable solData) throws com.ibm.epic.ams.EpicAMSException
uid
- String - User ID of user that will have solutions added.solData
- java.util.Hashtable - Solution(s) to be added to user. The SolutionName is the key
and a Vector of Roles is the values of the Hashtable. If there is only one role for the solution,
the value could be of type String instead of Vector.public void addUser(java.util.Hashtable userData) throws com.ibm.epic.ams.EpicAMSException
userData
- java.util.Hashtable - The attribute names are the keys in the hashtable.
The attribute values are the values in the hashtable. The hashtable must include the uid
attribute key with the userID value to specify the user being added.public void addUserRoles(java.lang.String uid, java.util.Hashtable roleData) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String: The User ID having the roles added.roleData
- java.util.Hashtable: Key is the solution name. If only one role is being added for the solution,
then the value is the role name of type String. If more than one role for the solution is being added, then
the value is a Vector of roles.public java.lang.String clientAuthenticate(java.lang.String userID) throws java.rmi.RemoteException, com.ibm.epic.ams.EpicAMSException
userID
- java.lang.String - User ID of user trying to get authenticatedpublic java.lang.String clientAuthenticate(java.lang.String userID, java.lang.String passwd) throws java.rmi.RemoteException, com.ibm.epic.ams.EpicAMSException
userID
- java.lang.String - User ID of user trying to get authenticatedpasswd
- java.lang.String - Password of user trying to get authenticatedpublic boolean clientLogout(java.lang.String userId) throws com.ibm.epic.ams.EpicAMSException
userId
- java.lang.String - User ID of user to be logged out.public void deleteUser(java.lang.String uid) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String - User ID of user to deletepublic void ejbActivate() throws java.rmi.RemoteException
public void ejbCreate() throws javax.ejb.CreateException, java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException
public javax.ejb.SessionContext getSessionContext()
public void removeSolutionFromUser(java.lang.String uid, java.lang.String solution) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String - User ID of user to have solutions removedsolution
- java.lang.String - Solution namepublic void removeUserRoles(java.lang.String uid, java.util.Hashtable roleData) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String: The User ID the roles will be removed from.roleData
- java.util.Hashtable: Key is the solution name. If only one role is being removed for the solution,
then the value is the role name of type String. If more than one role for the solution is being removed, then
the value is a Vector of roles.public void replaceUserRoles(java.lang.String uid, java.util.Hashtable roleData) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String - User ID of user to have roles replacedroleData
- java.util.Hashtable - Has the solutionName as the key and the roles as the value.
If there is only one role for the solution the value in the hashtable is of type String.
Otherwise, if there are multiple roles for the solution, the value in the hashtable is a Vector of roles.public void setSessionContext(javax.ejb.SessionContext ctx) throws java.rmi.RemoteException
ctx
- javax.ejb.SessionContextpublic java.lang.String[] getRoles(java.lang.String userId, java.lang.String solution) throws java.rmi.RemoteException, com.ibm.epic.ams.EpicAMSException
userID
- java.lang.String - userID of usersolution
- java.lang.String - Solution namepublic com.ibm.epic.ams.SolutionInfo[] getSolutions() throws java.rmi.RemoteException
public java.util.Hashtable getActivities() throws com.ibm.epic.ams.EpicAMSException
public java.lang.String getActivityRole(java.lang.String activity) throws com.ibm.epic.ams.EpicAMSException
activity
- java.lang.String: Activity namepublic java.util.Hashtable getAssignments(java.lang.String solution, java.lang.String awarelet) throws com.ibm.epic.ams.EpicAMSException
solution
- java.lang.String - Solution nameawarelet
- java.lang.String - Awarelet namepublic java.util.Hashtable getAwarelets(java.lang.String solution) throws com.ibm.epic.ams.EpicAMSException
solution
- java.lang.String: Solution namepublic void changeUserPassword(java.lang.String uid, java.lang.String oldPwd, java.lang.String newPwd) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String - User ID of user who's password will be changedoldPwd
- java.lang.String - User's current passwordnewPwd
- java.lang.String - User's new passwordpublic java.util.Hashtable getProcessDefinitions(java.lang.String solution) throws com.ibm.epic.ams.EpicAMSException
solution
- java.lang.String: Solution namepublic java.lang.String ssoPassThru(java.lang.String ltpaCookie) throws java.rmi.RemoteException, com.ibm.epic.ams.EpicAMSException
ltpaCookie
- javax.servlet.http.Cookiepublic java.util.Vector getUsers(java.lang.String solution, java.lang.String role) throws com.ibm.epic.ams.EpicAMSException
solution
- java.lang.String - solution namerole
- java.lang.String - role name. If null, all users assigned to the solution are returnedpublic void setPassword(java.lang.String uid, java.lang.String newPwd) throws com.ibm.epic.ams.EpicAMSException
uid
- java.lang.String - User ID of user who's password will be changednewPwd
- java.lang.String - User's new password
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |