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.


Field Summary
static java.lang.String DEFAULT_REALM
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_REALM

public static final java.lang.String DEFAULT_REALM
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 the server is running with an LDAP realm

getRealmClassName

public java.lang.String getRealmClassName()
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          ToolkitException
Returns:
the name of the current realm class in the server

isDefaultRealm

public boolean isDefaultRealm()
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              ToolkitException
Returns:
true if the default RDBMSRealm is being used

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved