Package kalix.javasdk
Interface Principal
- All Known Implementing Classes:
Principal.Basic
,Principal.LocalService
public interface Principal
A principal associated with a request.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Basic principals that have no additional configuration.static final class
A local service principal. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Principal.LocalService
localService
(String name) Create a local service principal with the given name
-
Field Details
-
INTERNET
Abstract principal representing all requests from the internet -
SELF
Abstract principal representing all requests from self -
BACKOFFICE
Abstract principal representing all requests from the backoffice
-
-
Method Details
-
localService
Create a local service principal with the given name
-