/** * Adds a rule that restricts access according to the {@link Role} of the * current authenticated {@link User}. Each role is defined a limit in terms * of concurrent requests, in any other case the access is forbidden. * * @param limitsPerRole * The limit assigned per role's name. */ public void addRolesConcurrencyCounter(Map<String, Integer> limitsPerRole) { addRolesConcurrencyCounter(limitsPerRole, 0); }
/** * Adds a rule that restricts access according to the {@link Role} of the * current authenticated {@link User}. Each role is defined a limit in terms * of concurrent requests, in any other case the access is forbidden. * * @param limitsPerRole * The limit assigned per role's name. */ public void addRolesConcurrencyCounter(Map<String, Integer> limitsPerRole) { addRolesConcurrencyCounter(limitsPerRole, 0); }
/** * Adds a rule that restricts access according to the {@link Role} of the * current authenticated {@link User}. Each role is defined a limit in terms * of concurrent requests, in any other case the access is forbidden. * * @param limitsPerRole * The limit assigned per role's name. */ public void addRolesConcurrencyCounter(Map<String, Integer> limitsPerRole) { addRolesConcurrencyCounter(limitsPerRole, 0); }
/** * Adds a rule that restricts access according to the {@link Role} of the * current authenticated {@link User}. Each role is defined a limit in terms * of concurrent requests, in any other case the access is forbidden. * * @param limitsPerRole * The limit assigned per role's name. */ public void addRolesConcurrencyCounter(Map<String, Integer> limitsPerRole) { addRolesConcurrencyCounter(limitsPerRole, 0); }