Class RestrictedAuthorityCompression.CompressedAuthorities.SetRule

java.lang.Object
com.broadleafcommerce.oauth2.resource.security.token.converter.RestrictedAuthorityCompression.CompressedAuthorities.SetRule
Enclosing class:
RestrictedAuthorityCompression.CompressedAuthorities

public static class RestrictedAuthorityCompression.CompressedAuthorities.SetRule extends Object
Defines a single rule within a restriction set, linking a restriction type to its values.
  • Constructor Details

    • SetRule

      public SetRule(int t, List<String> v)
    • SetRule

      public SetRule()
  • Method Details

    • setT

      public void setT(int t)
      The index of the restriction type in the t dictionary.
    • setV

      public void setV(List<String> v)
      The list of values for this restriction (e.g., ["item1", "item2"]).
    • getT

      public int getT()
      The index of the restriction type in the t dictionary.
    • getV

      public List<String> getV()
      The list of values for this restriction (e.g., ["item1", "item2"]).