public class LdapConfig
extends java.lang.Object
SecuritySystem
,
LdapImpl
Constructor and Description |
---|
LdapConfig(boolean enabled,
java.lang.String newUserGroup,
java.lang.String userFilter,
java.lang.String groupFilter,
java.lang.String userMapping,
java.lang.String groupMapping)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting syncOnLogin to false and base to null . |
LdapConfig(boolean enabled,
java.lang.String newUserGroup,
java.lang.String userFilter,
java.lang.String groupFilter,
java.lang.String userMapping,
java.lang.String groupMapping,
boolean syncOnLogin)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting base to null . |
LdapConfig(boolean enabled,
java.lang.String newUserGroup,
java.lang.String userFilter,
java.lang.String groupFilter,
java.lang.String userMapping,
java.lang.String groupMapping,
boolean syncOnLogin,
java.lang.String base)
As
LdapConfig(boolean, String, String, String, String, String, boolean, String, String)
setting newUserGroupOwner to null . |
LdapConfig(boolean enabled,
java.lang.String newUserGroup,
java.lang.String userFilter,
java.lang.String groupFilter,
java.lang.String userMapping,
java.lang.String groupMapping,
boolean syncOnLogin,
java.lang.String base,
java.lang.String newUserGroupOwner)
Base constructor which stores all
parse(String) and stores all
values for later lookup. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupAttribute(java.lang.String key) |
org.springframework.ldap.filter.Filter |
getGroupFilter() |
java.lang.String |
getNewUserGroup() |
java.lang.String |
getNewUserGroupOwner() |
java.lang.String |
getUserAttribute(java.lang.String key) |
org.springframework.ldap.filter.Filter |
getUserFilter() |
org.springframework.ldap.filter.Filter |
groupnameFilter(java.lang.String groupname) |
boolean |
isEnabled() |
boolean |
isSyncOnLogin() |
protected java.util.Map<java.lang.String,java.lang.String> |
parse(java.lang.String mapping) |
org.springframework.ldap.core.DistinguishedName |
relativeDN(java.lang.String fullDNString)
Calculate the relative DN based on the current base.
|
org.springframework.ldap.filter.Filter |
usernameFilter(java.lang.String username) |
public LdapConfig(boolean enabled, java.lang.String newUserGroup, java.lang.String userFilter, java.lang.String groupFilter, java.lang.String userMapping, java.lang.String groupMapping)
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting syncOnLogin
to false and base
to null
.public LdapConfig(boolean enabled, java.lang.String newUserGroup, java.lang.String userFilter, java.lang.String groupFilter, java.lang.String userMapping, java.lang.String groupMapping, boolean syncOnLogin)
LdapConfig(boolean, String, String, String, String, String, boolean, String)
setting base
to null
.public LdapConfig(boolean enabled, java.lang.String newUserGroup, java.lang.String userFilter, java.lang.String groupFilter, java.lang.String userMapping, java.lang.String groupMapping, boolean syncOnLogin, java.lang.String base)
LdapConfig(boolean, String, String, String, String, String, boolean, String, String)
setting newUserGroupOwner
to null
.public LdapConfig(boolean enabled, java.lang.String newUserGroup, java.lang.String userFilter, java.lang.String groupFilter, java.lang.String userMapping, java.lang.String groupMapping, boolean syncOnLogin, java.lang.String base, java.lang.String newUserGroupOwner)
parse(String)
and stores all
values for later lookup.public org.springframework.ldap.filter.Filter usernameFilter(java.lang.String username)
public org.springframework.ldap.filter.Filter groupnameFilter(java.lang.String groupname)
public org.springframework.ldap.core.DistinguishedName relativeDN(java.lang.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 java.lang.String getNewUserGroup()
public java.lang.String getNewUserGroupOwner()
public org.springframework.ldap.filter.Filter getUserFilter()
public org.springframework.ldap.filter.Filter getGroupFilter()
public java.lang.String getUserAttribute(java.lang.String key)
public java.lang.String getGroupAttribute(java.lang.String key)
protected java.util.Map<java.lang.String,java.lang.String> parse(java.lang.String mapping)
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.