use of org.killbill.billing.server.security.KillbillJdbcTenantRealm in project killbill by killbill.
the class KillbillJdbcTenantRealmProvider method get.
@Override
public KillbillJdbcTenantRealm get() {
final KillbillJdbcTenantRealm killbillJdbcTenantRealm = new KillbillJdbcTenantRealm(dataSource, securityConfig);
// Set the cache manager
// Note: the DefaultWebSecurityManager used for RBAC will have all of its realms (set in KillBillShiroWebModule)
// automatically configured with the EhCache manager (see EhCacheManagerProvider)
killbillJdbcTenantRealm.setCacheManager(cacheManager);
return killbillJdbcTenantRealm;
}
Aggregations