use of org.apereo.cas.configuration.model.core.authentication.CouchbasePrincipalAttributesProperties 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