Package akka.javasdk

Interface Principal

All Known Implementing Classes:
Principal.Basic, Principal.LocalService

public interface Principal
A principal associated with a request.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Basic principals that have no additional configuration.
    static final class 
    A local service principal.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Principal
    Abstract principal representing all requests from the backoffice
    static final Principal
    Abstract principal representing all requests from the internet
    static final Principal
    Abstract principal representing all requests from self
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    Create a local service principal with the given name
  • Field Details

    • INTERNET

      static final Principal INTERNET
      Abstract principal representing all requests from the internet
    • SELF

      static final Principal SELF
      Abstract principal representing all requests from self
    • BACKOFFICE

      static final Principal BACKOFFICE
      Abstract principal representing all requests from the backoffice
  • Method Details