BEA Systems, Inc.

com.beasys.commerce.user.jsp.beans
Class FunctionAccessBean

java.lang.Object
  |
  +--com.beasys.commerce.user.jsp.beans.FunctionAccessBean

public class FunctionAccessBean
extends java.lang.Object
implements LDAPBridgeConstants

Bean to determine what should be available in a jsp page based on configuration settings. Should probably be application-scoped since the properties file will only be read once during the life of the application.


Fields inherited from interface com.beasys.commerce.bridge.ldap.LDAPBridgeConstants
LDAP_CONFIG, LDAP_ENABLED_ATTRIBUTE, LDAP_GROUP_ATTRIBUTE, LDAP_USER_ATTRIBUTE
 
Constructor Summary
FunctionAccessBean()
          The default constructor which stores the realm bean name
 
Method Summary
 java.lang.String getRealmClassName()
           
 boolean isDefaultRealm()
           
 boolean isLdap()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionAccessBean

public FunctionAccessBean()
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          ToolkitException
The default constructor which stores the realm bean name
Method Detail

isLdap

public boolean isLdap()
Returns:
true if we're in an ldap configuration

getRealmClassName

public java.lang.String getRealmClassName()
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          ToolkitException

isDefaultRealm

public boolean isDefaultRealm()
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              ToolkitException

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved