ome.security.auth
Class LdapConfig
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapConfig
public LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping)
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.