Class RestrictedAuthorityCompression.CompressedAuthorities
java.lang.Object
com.broadleafcommerce.oauth2.resource.security.token.converter.RestrictedAuthorityCompression.CompressedAuthorities
- Enclosing class:
- RestrictedAuthorityCompression
Represents the root object of the compressed authority structure. It contains dictionaries
for strings and the main permissions data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefines a permission rule, linking a set of restrictions to a list of actions.static classDefines a single rule within a restriction set, linking a restriction type to its values. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe dictionary of action names (e.g., "READ", "UPDATE").The main permissions structure.The dictionary of resource names (e.g., "PRODUCT", "ORDER").A list of unique restriction sets.The dictionary of restriction type names (e.g., "ITEMS"). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
a
The dictionary of action names (e.g., "READ", "UPDATE"). -
r
The dictionary of resource names (e.g., "PRODUCT", "ORDER"). -
t
The dictionary of restriction type names (e.g., "ITEMS"). -
s
A list of unique restriction sets. Each inner list represents one set. -
p
The main permissions structure. The outer list is indexed by the resource ID fromr. Each inner list contains the rules that apply to that resource.
-
-
Constructor Details
-
CompressedAuthorities
public CompressedAuthorities()
-
-
Method Details