com.bankframe.services.accesscontrol
Interface AccessControl
- All Superinterfaces:
- javax.ejb.EJBObject, ESessionRemote, java.rmi.Remote
- All Known Subinterfaces:
- EJBAccessControl, LDAPAccessControl
- public interface AccessControl
- extends ESessionRemote
This interface defines the methods that all access control session beans
expose
Method Summary |
boolean |
validateUserRequest(java.lang.String userId,
java.lang.String requestId)
This method checks if the specified user has access to the session bean
mapped to the specified request id. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
USER_ID
public static final java.lang.String USER_ID
- See Also:
- Constant Field Values
REQUEST_ID
public static final java.lang.String REQUEST_ID
- See Also:
- Constant Field Values
validateUserRequest
public boolean validateUserRequest(java.lang.String userId,
java.lang.String requestId)
throws AccessControlException,
java.rmi.RemoteException
- This method checks if the specified user has access to the session bean
mapped to the specified request id.
- Parameters:
userId
- the userid to check againstrequestId
- the requestId of the session bean
- Returns:
- true if the user does have access, otherwise false
- Throws:
AccessControlException
- if the user is not allowed access the bean
java.rmi.RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.