mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 14:22:47 +00:00
Javadoc tidying
This commit is contained in:
parent
fca3a2a709
commit
c333070fe3
@ -69,13 +69,13 @@ import java.util.Set;
|
|||||||
* <pre>
|
* <pre>
|
||||||
* <bean id="ldapAuthoritiesPopulator"
|
* <bean id="ldapAuthoritiesPopulator"
|
||||||
* class="org.springframework.security.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">
|
* class="org.springframework.security.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">
|
||||||
* <constructor-arg><ref local="contextSource"/></constructor-arg>
|
* <constructor-arg ref="contextSource"/>
|
||||||
* <constructor-arg><value>ou=groups</value></constructor-arg>
|
* <constructor-arg value="ou=groups"/>
|
||||||
* <property name="groupRoleAttribute"><value>ou</value></property>
|
* <property name="groupRoleAttribute" value="ou"/>
|
||||||
* <!-- the following properties are shown with their default values -->
|
* <!-- the following properties are shown with their default values -->
|
||||||
* <property name="searchSubTree"><value>false</value></property>
|
* <property name="searchSubTree" value="false"/>
|
||||||
* <property name="rolePrefix"><value>ROLE_</value></property>
|
* <property name="rolePrefix" value="ROLE_"/>
|
||||||
* <property name="convertToUpperCase"><value>true</value></property>
|
* <property name="convertToUpperCase" value="true"/>
|
||||||
* </bean>
|
* </bean>
|
||||||
* </pre>
|
* </pre>
|
||||||
* A search for roles for user "uid=ben,ou=people,dc=springframework,dc=org" would return the single granted authority
|
* A search for roles for user "uid=ben,ou=people,dc=springframework,dc=org" would return the single granted authority
|
||||||
@ -284,6 +284,10 @@ public class DefaultLdapAuthoritiesPopulator implements LdapAuthoritiesPopulator
|
|||||||
this.groupSearchFilter = groupSearchFilter;
|
this.groupSearchFilter = groupSearchFilter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the prefix which will be prepended to the values loaded from the directory.
|
||||||
|
* Defaults to "ROLE_" for compatibility with <tt>RoleVoter/tt>.
|
||||||
|
*/
|
||||||
public void setRolePrefix(String rolePrefix) {
|
public void setRolePrefix(String rolePrefix) {
|
||||||
Assert.notNull(rolePrefix, "rolePrefix must not be null");
|
Assert.notNull(rolePrefix, "rolePrefix must not be null");
|
||||||
this.rolePrefix = rolePrefix;
|
this.rolePrefix = rolePrefix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user