@ Bean ( name = "requestAttributeMergingDao" ) @ Qualifier ( "uPortalInternal" ) public IPersonAttributeDao getRequestAttributeMergingDao ( ) { final MergingPersonAttributeDaoImpl rslt = new MergingPersonAttributeDaoImpl ( ) ; rslt . setUsernameAttributeProvider ( getUsernameAttributeProvider ( ) ) ; rslt . setMerger ( new ReplacingAttributeAdder ( ) ) ; final List < IPersonAttributeDao > daos = new ArrayList <> ( ) ; daos . add ( getRequestAttributesDao ( ) ) ; daos . add ( getCachingPersonAttributeDao ( ) ) ; rslt . setPersonAttributeDaos ( daos ) ; return rslt ; }
Merges attributes from the request with those from other DAOs .