public class LdapConfig extends Object
SecuritySystem
,
LdapImpl
Constructor and Description |
---|
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting syncOnLogin to false and base to null . |
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping,
boolean syncOnLogin)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting base to null . |
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping,
boolean syncOnLogin,
String base)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String, String)
setting newUserGroupOwner to null . |
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping,
boolean syncOnLogin,
String base,
String newUserGroupOwner)
Base constructor which stores all
parse(String) and stores all
values for later lookup. |
Modifier and Type | Method and Description |
---|---|
String |
getGroupAttribute(String key) |
org.springframework.ldap.filter.Filter |
getGroupFilter() |
String |
getNewUserGroup() |
String |
getNewUserGroupOwner() |
String |
getUserAttribute(String key) |
org.springframework.ldap.filter.Filter |
getUserFilter() |
org.springframework.ldap.filter.Filter |
groupnameFilter(String groupname) |
boolean |
isEnabled() |
boolean |
isSyncOnLogin() |
protected Map<String,String> |
parse(String mapping) |
org.springframework.ldap.core.DistinguishedName |
relativeDN(String fullDNString)
Calculate the relative DN based on the current base.
|
org.springframework.ldap.filter.Filter |
usernameFilter(String username) |
public LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping)
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting syncOnLogin
to false and base
to null
.public LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping, boolean syncOnLogin)
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting base
to null
.public LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping, boolean syncOnLogin, String base)
LdapConfig(boolean, String, String, String, String, String, boolean, String, String)
setting newUserGroupOwner
to null
.public org.springframework.ldap.filter.Filter usernameFilter(String username)
public org.springframework.ldap.filter.Filter groupnameFilter(String groupname)
public org.springframework.ldap.core.DistinguishedName relativeDN(String fullDNString)
base
was null
then this will throw an exception.fullDNString
- the full distinguished name, not null
null
public boolean isEnabled()
public boolean isSyncOnLogin()
public String getNewUserGroup()
public String getNewUserGroupOwner()
public org.springframework.ldap.filter.Filter getUserFilter()
public org.springframework.ldap.filter.Filter getGroupFilter()
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.