Package org.infinispan.security.actions

Examples of org.infinispan.security.actions.DefineConfigurationAction


* @author Tristan Tarrant
* @since 7.0
*/
final class SecurityActions {
   static void defineConfiguration(final EmbeddedCacheManager cacheManager, final String cacheName, final Configuration configurationOverride) {
      DefineConfigurationAction action = new DefineConfigurationAction(cacheManager, cacheName, configurationOverride);
      if (System.getSecurityManager() != null) {
         AccessController.doPrivileged(action);
      } else {
         Security.doPrivileged(action);
      }
View Full Code Here

TOP

Related Classes of org.infinispan.security.actions.DefineConfigurationAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.