Example usage for org.apache.shiro.realm AuthorizingRealm getAuthenticationCacheName

List of usage examples for org.apache.shiro.realm AuthorizingRealm getAuthenticationCacheName

Introduction

In this page you can find the example usage for org.apache.shiro.realm AuthorizingRealm getAuthenticationCacheName.

Prototype

public String getAuthenticationCacheName() 

Source Link

Document

Returns the name of a Cache to lookup from any available #getCacheManager() cacheManager if a cache is not explicitly configured via #setAuthenticationCache(org.apache.shiro.cache.Cache) .

Usage

From source file:org.killbill.billing.util.glue.ShiroEhCacheInstrumentor.java

License:Apache License

public void instrument(final AuthorizingRealm realm) {
    instrument(realm.getAuthenticationCacheName());
    instrument(realm.getAuthorizationCacheName());
}