public interface ServicePrincipal
extends java.security.Principal
Modifier and Type | Method and Description |
---|---|
default boolean |
authenticated()
Whether the service was authenticated.
|
static ServicePrincipal |
forServiceNamed(String serviceName)
Get a service principal for the given named service.
|
default String |
serviceName()
The service name.
|
default String serviceName()
Principal.getName()
, depending on whether the principal represents the service
itself, or simply a request made by the service on behalf of another principal.default boolean authenticated()
static ServicePrincipal forServiceNamed(String serviceName)