public class LdapConfig extends Object
ome.security.JBossLoginModule
SecuritySystem
,
LdapImpl
Constructor and Description |
---|
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping)
Sets
syncOnLogin to false and base to null. |
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping,
boolean syncOnLogin)
Sets
base to null. |
LdapConfig(boolean enabled,
String newUserGroup,
String userFilter,
String groupFilter,
String userMapping,
String groupMapping,
boolean syncOnLogin,
String base)
Sets
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)
syncOnLogin
to false and base
to null.public LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping, boolean syncOnLogin)
base
to null.public LdapConfig(boolean enabled, String newUserGroup, String userFilter, String groupFilter, String userMapping, String groupMapping, boolean syncOnLogin, String base)
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
is null, then this will throw an exception.full
- Not 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.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.