Class S2SGrantRule
java.lang.Object
io.confluent.security.authorizer.AccessRule
io.confluent.security.auth.s2s.S2SGrantRule
- All Implemented Interfaces:
io.confluent.security.authorizer.AuthorizePolicy
public class S2SGrantRule
extends io.confluent.security.authorizer.AccessRule
ALLOW-only rule carrying the system-LAT
sub SPIFFE-ID that earned the grant. Used by
the L3b VERDICT (S2SServiceLevelAuthZProvider) on a Cedar permit. Mirrors
S2SDenyRule (the DENY-only rule) but with PermissionType.ALLOW / AuthorizePolicy.PolicyType.ALLOW_S2S.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.confluent.security.authorizer.AuthorizePolicy
io.confluent.security.authorizer.AuthorizePolicy.BrokerTypeTopicUser, io.confluent.security.authorizer.AuthorizePolicy.BrokerUser, io.confluent.security.authorizer.AuthorizePolicy.NoMatchingRule, io.confluent.security.authorizer.AuthorizePolicy.PolicyType, io.confluent.security.authorizer.AuthorizePolicy.SuperUser -
Field Summary
Fields inherited from class io.confluent.security.authorizer.AccessRule
ALL_HOSTS, GROUP_PRINCIPAL_TYPE, WILDCARD_GROUP_PRINCIPAL, WILDCARD_USER_PRINCIPALFields inherited from interface io.confluent.security.authorizer.AuthorizePolicy
ALLOW_ON_NO_RULE, DENY_ON_NO_RULE, NO_MATCHING_RULE -
Constructor Summary
ConstructorsConstructorDescriptionS2SGrantRule(String spiffeId, io.confluent.security.authorizer.Action action) -
Method Summary
Methods inherited from class io.confluent.security.authorizer.AccessRule
asBaseKafkaPrincipal, clusterLinkIds, equals, hashCode, host, matches, matches, matches, matches, matchingPrincipals, operation, permissionType, policyType, principal, resourcePattern
-
Constructor Details
-
S2SGrantRule
-
-
Method Details
-
spiffeId
-
action
public io.confluent.security.authorizer.Action action() -
toString
- Overrides:
toStringin classio.confluent.security.authorizer.AccessRule
-