Class Settings

java.lang.Object
org.jenkinsci.plugins.rolestrategy.Settings

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class Settings extends Object
Class for managing the strategy. This class will be converted to additional UI at some point. Now it stores System properties only.
Since:
2.3.1
Author:
Oleg Nenashev
  • Field Details

    • VIEW_CACHE_MAX_SIZE

      public static final int VIEW_CACHE_MAX_SIZE
      Defines maximum size of the View cache. This cache is being used when the macro ContainedInView is used. Changing of this option requires a Jenkins restart.
      Since:
      570
    • VIEW_CACHE_EXPIRATION_TIME_SEC

      public static final int VIEW_CACHE_EXPIRATION_TIME_SEC
      Defines lifetime of entries in the View cache. This cache is being used when the macro ContainedInView is used. Changing of this option requires a Jenkins restart.
      Since:
      570
    • USER_DETAILS_CACHE_MAX_SIZE

      public static final int USER_DETAILS_CACHE_MAX_SIZE
      Defines maximum size of the User details cache. This cache is being used when TREAT_USER_AUTHORITIES_AS_ROLES is enabled. Changing of this option requires Jenkins restart.
      Since:
      2.3.1
    • USER_DETAILS_CACHE_EXPIRATION_TIME_SEC

      public static final int USER_DETAILS_CACHE_EXPIRATION_TIME_SEC
      Defines lifetime of entries in the User details cache. This cache is being used when TREAT_USER_AUTHORITIES_AS_ROLES is enabled. Changing of this option requires Jenkins restart.
      Since:
      2.3.1
    • TREAT_USER_AUTHORITIES_AS_ROLES

      public static boolean TREAT_USER_AUTHORITIES_AS_ROLES
      Enabling processing of User Authorities. Alters the behavior of RoleMap.hasPermission(com.michelin.cio.hudson.plugins.rolestrategy.PermissionEntry, hudson.security.Permission, com.synopsys.arc.jenkins.plugins.rolestrategy.RoleType, hudson.security.AccessControlled). Since 2.3.0 this value was true, but it has been switched due to the performance reasons. The behavior can be reverted (even dynamically via System Groovy Script).
      Since:
      2.3.1