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

Author:
ETU

Field Summary
static java.lang.String REQUEST_ID
           
static java.lang.String USER_ID
           
 
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 com.bankframe.ejb.ESessionRemote
processDataPacket, processDataPackets
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Field Detail

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
Method Detail

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 against
requestId - 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 © 2004 Siebel Systems, Inc. All rights reserved.