APISonar


org.infinispan.configuration.cache.AuthorizationConfiguration.security

> org > infinispan > configuration > cache > AuthorizationConfiguration > security
org APIs infinispan APIs configuration APIs cache APIs AuthorizationConfiguration APIs security APIs

Example 1
private AuthorizationConfiguration configuration;

   public void init(Cache<?, ?> cache, GlobalConfiguration globalConfiguration, Configuration configuration,
         ClusterRegistry<String, Subject, Integer> clusterRegistry) {
      this.globalConfiguration = globalConfiguration.security();
      this.configuration = configuration.security().authorization();
      this.subjectRoleMaskCache = clusterRegistry;
      authCacheScope = String.format("%s_%s", AuthorizationManager.class.getName(), cache.getName());
      this.authzHelper = new AuthorizationHelper(this.globalConfiguration, AuditContext.CACHE, cache.getName());
   }