|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bankframe.ejb.ESessionBean
com.bankframe.services.accesscontrol.AccessControlBean
com.bankframe.services.accesscontrol.ejb.EJBAccessControlBean
This class controls access to EJBs for users. It does this via the
validateUserRequest() method. This method is passed a userId
and a requestId variable and checks the accessibility to the bean based on these
parameters.
| Constructor Summary | |
EJBAccessControlBean()
|
|
| Method Summary | |
boolean |
validateUserRequest(java.lang.String userId,
java.lang.String requestId)
This method checks if a user has access to the specified request id. |
| Methods inherited from class com.bankframe.services.accesscontrol.AccessControlBean |
processDataPacket |
| Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EJBAccessControlBean()
| Method Detail |
public boolean validateUserRequest(java.lang.String userId,
java.lang.String requestId)
throws AccessControlException
validateUserRequest in class AccessControlBeanuserId - the userid to check againstrequestId - the requestId of the session bean
AccessControlException - if the user is not allowed access the bean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||