use of org.apereo.cas.persondir.support.CouchbasePersonAttributeDao in project cas by apereo.
the class CouchbaseAuthenticationConfiguration method couchbasePersonAttributeDao.
@ConditionalOnMissingBean(name = "couchbasePersonAttributeDao")
@Bean
public IPersonAttributeDao couchbasePersonAttributeDao() {
final CouchbasePrincipalAttributesProperties couchbase = casProperties.getAuthn().getAttributeRepository().getCouchbase();
final CouchbasePersonAttributeDao cb = new CouchbasePersonAttributeDao(couchbase, authenticationCouchbaseClientFactory());
cb.setOrder(couchbase.getOrder());
return cb;
}
Aggregations