All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.configuration.global.GlobalSecurityConfiguration Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.configuration.global;

/**
 * GlobalSecurityConfiguration.
 *
 * @author Tristan Tarrant
 * @since 7.0
 */
public class GlobalSecurityConfiguration {
   private final GlobalAuthorizationConfiguration authorization;
   private final long securityCacheTimeout;


   GlobalSecurityConfiguration(GlobalAuthorizationConfiguration authorization, long securityCacheTimeout) {
      this.authorization = authorization;
      this.securityCacheTimeout = securityCacheTimeout;
   }

   public GlobalAuthorizationConfiguration authorization() {
      return authorization;
   }

   public long securityCacheTimeout() {
      return securityCacheTimeout;
   }

   @Override
   public String toString() {
      return "GlobalSecurityConfiguration [authorization=" + authorization
            + ", securityCacheTimeout=" + securityCacheTimeout + "]";
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy