Search in sources :

Example 1 with SimpleUsernameAttributeProvider

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;
}
Also used : SimpleUsernameAttributeProvider(org.apereo.services.persondir.support.SimpleUsernameAttributeProvider) Bean(org.springframework.context.annotation.Bean)

Aggregations

SimpleUsernameAttributeProvider (org.apereo.services.persondir.support.SimpleUsernameAttributeProvider)1 Bean (org.springframework.context.annotation.Bean)1