com.bankframe.services.accesscontrol.ldap
Class LDAPAccessControlBean

java.lang.Object
  extended bycom.bankframe.ejb.ESessionBean
      extended bycom.bankframe.services.accesscontrol.AccessControlBean
          extended bycom.bankframe.services.accesscontrol.ldap.LDAPAccessControlBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, ESession, java.io.Serializable, javax.ejb.SessionBean

public class LDAPAccessControlBean
extends AccessControlBean

This class is the LDAP based implementation of bankframe access control

See Also:
Serialized Form

Constructor Summary
LDAPAccessControlBean()
          Default contstructor
 
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 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

LDAPAccessControlBean

public LDAPAccessControlBean()
Default contstructor

Method Detail

validateUserRequest

public boolean validateUserRequest(java.lang.String userId,
                                   java.lang.String requestId)
                            throws AccessControlException
This method checks if the specified user has access to the session bean mapped to the specified request id.

Specified by:
validateUserRequest in class AccessControlBean
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


Copyright © 2005, 2007, Oracle. All rights reserved.