@ Bean ( name = "usernameAttributeProvider" ) public IUsernameAttributeProvider getUsernameAttributeProvider ( ) { final SimpleUsernameAttributeProvider rslt = new SimpleUsernameAttributeProvider ( ) ; rslt . setUsernameAttribute ( USERNAME_ATTRIBUTE ) ; return rslt ; }
Provides the default username attribute to use to the rest of the DAOs .