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.LdapSchemaConfig
getUserDnWithDc
in interface LdapServer.LdapSchemaConfig
userName
- User's usernamepublic String getUserDn(String userName)
LdapServer.LdapSchemaConfig
getUserDn
in interface LdapServer.LdapSchemaConfig
userName
- User's usernamepublic String getGroupRdnWithDc(String groupName)
LdapServer.LdapSchemaConfig
getGroupRdnWithDc
in interface LdapServer.LdapSchemaConfig
groupName
- Name of the grouppublic String getGroupRdn(String groupName)
LdapServer.LdapSchemaConfig
getGroupRdn
in interface LdapServer.LdapSchemaConfig
groupName
- Name of the grouppublic Attributes createUserAttributes(User user)
createUserAttributes
in interface LdapServer.LdapSchemaConfig
public Attributes createGroupAttributes(String groupName)
createGroupAttributes
in interface LdapServer.LdapSchemaConfig
public void setPasswordAttribute(org.springframework.LdapDataEntry ldapUser, String newPassword)
setPasswordAttribute
in interface LdapServer.LdapSchemaConfig
public String getEmailAttributeName()
getEmailAttributeName
in interface LdapServer.LdapSchemaConfig
public String getSurnameAttributeName()
getSurnameAttributeName
in interface LdapServer.LdapSchemaConfig
public String getGivenNameAttributeName()
getGivenNameAttributeName
in interface LdapServer.LdapSchemaConfig
public String getGroupUsernamesAttributeName()
getGroupUsernamesAttributeName
in interface LdapServer.LdapSchemaConfig
public String getUserNameAttributeName()
getUserNameAttributeName
in interface LdapServer.LdapSchemaConfig
public String getGroupNameAttributeName()
getGroupNameAttributeName
in interface LdapServer.LdapSchemaConfig
public String getUsersBaseDn()
getUsersBaseDn
in interface LdapServer.LdapSchemaConfig
public String getGroupsBaseDn()
getGroupsBaseDn
in interface LdapServer.LdapSchemaConfig
public String getAllUsersSelector()
getAllUsersSelector
in interface LdapServer.LdapSchemaConfig
public String getAllGroupsSelector()
getAllGroupsSelector
in interface LdapServer.LdapSchemaConfig
Copyright © 2003–2020 Atlassian. All rights reserved.