use of org.apereo.services.persondir.support.SimpleUsernameAttributeProvider in project uPortal by Jasig.
the class PersonDirectoryConfiguration method getUsernameAttributeProvider.
/**
* Provides the default username attribute to use to the rest of the DAOs.
*/
@Bean(name = "usernameAttributeProvider")
public IUsernameAttributeProvider getUsernameAttributeProvider() {
final SimpleUsernameAttributeProvider rslt = new SimpleUsernameAttributeProvider();
rslt.setUsernameAttribute(USERNAME_ATTRIBUTE);
return rslt;
}
Aggregations