package acl
- Alphabetic
- Public
- Protected
Type Members
- final case class Acl(allow: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, deny: Seq[PrincipalMatcher] = _root_.scala.Seq.empty, denyCode: Int = 0, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Acl] with Product with Serializable
ACL configuration for a resource.
ACL configuration for a resource.
- allow
Principals that are allowed to access this resource. An incoming request must have at least one principal associated with it in this list to be allowed.
- deny
Principals that are not allowed to access this resource. After matching an allow rule, an incoming request that has at least one principal that matches a deny rule will be denied.
- denyCode
The gRPC status code to respond with when access is denied. By default, this will be 7 (permission denied), but alternatives might include 16 (unauthenticated) or 5 (not found). If 0, indicates that the code should be inherited from the parent (regardless of the inherit field). When HTTP transcoding is in use, this code will be translated to an equivalent HTTP status code.
- Annotations
- @SerialVersionUID()
- final case class PrincipalMatcher(matcher: Matcher = kalix.acl.PrincipalMatcher.Matcher.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[PrincipalMatcher] with Product with Serializable
A principal matcher that can be used in an ACL.
A principal matcher that can be used in an ACL.
A principal is a very broad concept. It can correlate to a person, a system, or a more abstract concept, such as the internet.
A single request may have multiple principals associated with it, for example, it may have come from a particular source system, and it may have certain credentials associated with it. When a matcher is applied to the request, the request is considered to match if at least one of the principals attached to the request matches.
- Annotations
- @SerialVersionUID()
Value Members
- object Acl extends GeneratedMessageCompanion[Acl]
- object AclProto extends GeneratedFileObject
- object PrincipalMatcher extends GeneratedMessageCompanion[PrincipalMatcher]