com.lightbend.lagom.scaladsl.api.security
Whether the service was authenticated.
Whether the service was authenticated.
Some service identity strategies simply pull the service name from a header, which can be trivially spoofed. This can be used to distinguish whether the service identity has been established by an insecure means such as that, or a secure means such as client certificates, signed tokens or shared secrets.
True if the service identity was established by some secure means.
The service name.
The service name.
This may or may not be the same as #getName, depending on whether the principal represents the service itself, or simply a request made by the service on behalf of another principal.
The server name.
A service principal.
A service principal may either represent a service identity, or it may be a principal that a service made a request on behalf of.