ome.security.auth
Class LdapConfig

java.lang.Object
  extended by ome.security.auth.LdapConfig

public class LdapConfig
extends Object

Static methods for dealing with LDAP (DN) and the "password" table. Used primarily by ome.security.JBossLoginModule

Since:
3.0-Beta3
Author:
Aleksandra Tarkowska, A.Tarkowska at dundee.ac.uk
See Also:
SecuritySystem, LdapImpl

Constructor Summary
LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping)
           
 
Method Summary
 String getGroupAttribute(String key)
           
 org.springframework.ldap.filter.Filter getGroupFilter()
           
 String getNewUserGroup()
           
 String getUserAttribute(String key)
           
 org.springframework.ldap.filter.Filter getUserFilter()
           
 boolean isEnabled()
           
protected  Map<String,String> parse(String mapping)
           
 org.springframework.ldap.filter.Filter usernameFilter(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapConfig

public LdapConfig(boolean enabled,
                  String newUserGroup,
                  String userFilter,
                  String groupFilter,
                  String userMapping,
                  String groupMapping)
Method Detail

usernameFilter

public org.springframework.ldap.filter.Filter usernameFilter(String username)

isEnabled

public boolean isEnabled()

getNewUserGroup

public String getNewUserGroup()

getUserFilter

public org.springframework.ldap.filter.Filter getUserFilter()

getGroupFilter

public org.springframework.ldap.filter.Filter getGroupFilter()

getUserAttribute

public String getUserAttribute(String key)

getGroupAttribute

public String getGroupAttribute(String key)

parse

protected Map<String,String> parse(String mapping)


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.