public class TestPropertiesLdapSchemaConfig extends Object implements LdapServer.LdapSchemaConfig
| Constructor and Description |
|---|
TestPropertiesLdapSchemaConfig() |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
createGroupAttributes(String groupName) |
Attributes |
createUserAttributes(User user) |
String |
getAllGroupsSelector() |
String |
getAllUsersSelector() |
String |
getEmailAttributeName() |
String |
getGivenNameAttributeName() |
String |
getGroupNameAttributeName() |
String |
getGroupRdn(String groupName)
Create a group DN string given the group name
|
String |
getGroupRdnWithDc(String groupName)
Create a group DN with domain component given the group name
|
String |
getGroupsBaseDn() |
String |
getGroupUsernamesAttributeName() |
String |
getSurnameAttributeName() |
String |
getUserDn(String userName)
Create a user DN string given the username
|
String |
getUserDnWithDc(String userName)
Create a user DN with domain component given the username
|
String |
getUserNameAttributeName() |
String |
getUsersBaseDn() |
void |
setPasswordAttribute(org.springframework.LdapDataEntry ldapUser,
String newPassword) |
public String getUserDnWithDc(String userName)
LdapServer.LdapSchemaConfiggetUserDnWithDc in interface LdapServer.LdapSchemaConfiguserName - User's usernamepublic String getUserDn(String userName)
LdapServer.LdapSchemaConfiggetUserDn in interface LdapServer.LdapSchemaConfiguserName - User's usernamepublic String getGroupRdnWithDc(String groupName)
LdapServer.LdapSchemaConfiggetGroupRdnWithDc in interface LdapServer.LdapSchemaConfiggroupName - Name of the grouppublic String getGroupRdn(String groupName)
LdapServer.LdapSchemaConfiggetGroupRdn in interface LdapServer.LdapSchemaConfiggroupName - Name of the grouppublic Attributes createUserAttributes(User user)
createUserAttributes in interface LdapServer.LdapSchemaConfigpublic Attributes createGroupAttributes(String groupName)
createGroupAttributes in interface LdapServer.LdapSchemaConfigpublic void setPasswordAttribute(org.springframework.LdapDataEntry ldapUser,
String newPassword)
setPasswordAttribute in interface LdapServer.LdapSchemaConfigpublic String getEmailAttributeName()
getEmailAttributeName in interface LdapServer.LdapSchemaConfigpublic String getSurnameAttributeName()
getSurnameAttributeName in interface LdapServer.LdapSchemaConfigpublic String getGivenNameAttributeName()
getGivenNameAttributeName in interface LdapServer.LdapSchemaConfigpublic String getGroupUsernamesAttributeName()
getGroupUsernamesAttributeName in interface LdapServer.LdapSchemaConfigpublic String getUserNameAttributeName()
getUserNameAttributeName in interface LdapServer.LdapSchemaConfigpublic String getGroupNameAttributeName()
getGroupNameAttributeName in interface LdapServer.LdapSchemaConfigpublic String getUsersBaseDn()
getUsersBaseDn in interface LdapServer.LdapSchemaConfigpublic String getGroupsBaseDn()
getGroupsBaseDn in interface LdapServer.LdapSchemaConfigpublic String getAllUsersSelector()
getAllUsersSelector in interface LdapServer.LdapSchemaConfigpublic String getAllGroupsSelector()
getAllGroupsSelector in interface LdapServer.LdapSchemaConfigCopyright © 2003–2021 Atlassian. All rights reserved.