Record Class RuleBasedAuthorizationPolicy.Rule
java.lang.Object
java.lang.Record
org.j7m.middleware.security.defaults.RuleBasedAuthorizationPolicy.Rule
- Record Components:
roles- accepted rolesactions- accepted actionsresourcePrefix- accepted resource prefix
- Enclosing class:
RuleBasedAuthorizationPolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.j7m.middleware.security.api.PermissionAction> actions()Returns the value of theactionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourcePrefixrecord component.roles()Returns the value of therolesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Rule
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
roles
-
actions
-
resourcePrefix
Returns the value of theresourcePrefixrecord component.- Returns:
- the value of the
resourcePrefixrecord component
-