com.bankframe.services.accesscontrol
Interface AccessControl
- All Superinterfaces:
- EJBObject, ESessionRemote, 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(String userId,
String requestId)
This method checks if the specified user has access to the session bean
mapped to the specified request id. |
USER_ID
static final String USER_ID
- See Also:
- Constant Field Values
REQUEST_ID
static final String REQUEST_ID
- See Also:
- Constant Field Values
validateUserRequest
boolean validateUserRequest(String userId,
String requestId)
throws AccessControlException,
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
RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.