BEA Systems, Inc.

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

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

public class LdapConfigBean
extends java.lang.Object
implements LDAPBridgeConstants

Jsp bean class to help with LDAP configuration tools


Fields inherited from interface com.beasys.commerce.bridge.ldap.LDAPBridgeConstants
LDAP_CONFIG, LDAP_ENABLED_ATTRIBUTE, LDAP_GROUP_ATTRIBUTE, LDAP_USER_ATTRIBUTE
 
Constructor Summary
LdapConfigBean()
           
 
Method Summary
 java.lang.String addGroupProperty()
          Adds the property in the propertyName attribute to the list of defined group properties
 java.lang.String addUserProperty()
          Adds the property in the propertyName attribute to the list of defined user properties
 java.lang.String deleteGroupProperty()
          Removes the property in the propertyName attribute from the list of defined group properties
 java.lang.String deleteUserProperty()
          Removes the property in the propertyName attribute from the list of defined user properties
 java.lang.String getGroupDN()
          Returns the location for groups in LDAP.
 java.lang.String getGroupNameAttribute()
          Returns the unique identifier for groups in LDAP - for example, "cn"
 java.lang.String[] getGroupProperties()
          Returns an array of defined group property names.
 java.lang.String getMembersAttribute()
          Returns the members attribute - for example: "uniquemember".
 java.lang.String getPrincipal()
          Returns the principal used to connect to ldap - for example: "uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot".
 java.lang.String getPropertyName()
          Get the current property name (to be added/removed from the configuration)
 java.lang.String getServerURL()
          Returns the server URL - for example: "ldap://quark.boulder.beasys.com:389".
 java.lang.String getUserDN()
          Returns the location for groups in LDAP.
 java.lang.String getUserNameAttribute()
          Returns the unique user attribute - for example: "uid".
 java.lang.String[] getUserProperties()
          Returns an array of defined user property names
 boolean isSSL()
          Returns true if using SSL to talk to LDAP.
 void setPropertyName(java.lang.String s)
          Set the current property name (to be added/removed from the configuration)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapConfigBean

public LdapConfigBean()
Method Detail

getGroupProperties

public java.lang.String[] getGroupProperties()
Returns an array of defined group property names.
Returns:
an array of defined group property names

addGroupProperty

public java.lang.String addGroupProperty()
Adds the property in the propertyName attribute to the list of defined group properties
Returns:
success or error message

deleteGroupProperty

public java.lang.String deleteGroupProperty()
Removes the property in the propertyName attribute from the list of defined group properties
Returns:
error message : null if no error

getUserProperties

public java.lang.String[] getUserProperties()
Returns an array of defined user property names
Returns:
an array of defined user property names

addUserProperty

public java.lang.String addUserProperty()
Adds the property in the propertyName attribute to the list of defined user properties
Returns:
a success or error message

deleteUserProperty

public java.lang.String deleteUserProperty()
Removes the property in the propertyName attribute from the list of defined user properties
Returns:
error message : null if no error

getMembersAttribute

public java.lang.String getMembersAttribute()
Returns the members attribute - for example: "uniquemember".

getUserNameAttribute

public java.lang.String getUserNameAttribute()
Returns the unique user attribute - for example: "uid".

getPrincipal

public java.lang.String getPrincipal()
Returns the principal used to connect to ldap - for example: "uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot".

getServerURL

public java.lang.String getServerURL()
Returns the server URL - for example: "ldap://quark.boulder.beasys.com:389".

isSSL

public boolean isSSL()
Returns true if using SSL to talk to LDAP.

getGroupDN

public java.lang.String getGroupDN()
Returns the location for groups in LDAP.

getUserDN

public java.lang.String getUserDN()
Returns the location for groups in LDAP.

getGroupNameAttribute

public java.lang.String getGroupNameAttribute()
Returns the unique identifier for groups in LDAP - for example, "cn"

setPropertyName

public void setPropertyName(java.lang.String s)
Set the current property name (to be added/removed from the configuration)

getPropertyName

public java.lang.String getPropertyName()
Get the current property name (to be added/removed from the configuration)

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved