com.cafesoft.core.ldap
Class SearchConfig

java.lang.Object
  |
  +--com.cafesoft.core.ldap.SearchConfig

public class SearchConfig
extends Object

SearchConfig encapsulates a set of LDAP Search parameters.

Since:
10/23/01

Field Summary
protected  String roleBase
          The base dn for roles.
protected  String roleName
          The base dn for roles.
protected  String roleSearch
          The role search pattern.
protected  boolean roleSubtree
          The role search subtree level.
protected  String userPattern
          The user search pattern.
 
Constructor Summary
SearchConfig(String roleBase, String roleName, String roleSearch, boolean roleSubtree, String userPattern)
          Create a new SearchConfig object.
 
Method Summary
 String getRoleBase()
          Get the LDAP role base dn.
 String getRoleName()
          Get the LDAP role attribute name.
 String getRoleSearch()
          Get the LDAP role search pattern.
 boolean getRoleSubtree()
          Get the LDAP role search subtree level.
 String getUserPattern()
          Get the LDAP user dn pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleBase

protected String roleBase
The base dn for roles.


roleName

protected String roleName
The base dn for roles.


roleSearch

protected String roleSearch
The role search pattern.


roleSubtree

protected boolean roleSubtree
The role search subtree level.


userPattern

protected String userPattern
The user search pattern.

Constructor Detail

SearchConfig

public SearchConfig(String roleBase,
                    String roleName,
                    String roleSearch,
                    boolean roleSubtree,
                    String userPattern)
Create a new SearchConfig object.

Parameters:
roleBase - the base dn for roles
roleName - the base dn for roles
roleSearch - the role search pattern
roleSubtree - the role search subtree level
userPattern - the user search pattern
Method Detail

getRoleBase

public String getRoleBase()
Get the LDAP role base dn.

Returns:
the LDAP role base dn.

getRoleName

public String getRoleName()
Get the LDAP role attribute name.

Returns:
the LDAP role attribute name.

getRoleSearch

public String getRoleSearch()
Get the LDAP role search pattern.

Returns:
the LDAP role search pattern.

getRoleSubtree

public boolean getRoleSubtree()
Get the LDAP role search subtree level.

Returns:
the LDAP role search subtree level.

getUserPattern

public String getUserPattern()
Get the LDAP user dn pattern.

Returns:
the LDAP user dn pattern.


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.