public interface SecurityServices extends Service
Required in a Java EE environment.
SecurityServices is a per-deployment service.
An integrator should either implement
getSecurityContextAssociator(). By default, the
getSecurityContextAssociator() method delegates to
getSecurityContext(). The container always calls the
|Modifier and Type||Method and Description|
Obtain the Principal representing the current caller identity
Obtain the security context associated with the current thread.
Obtain the security context associated with the current thread and associate this context when an action is performed.
default SecurityContext getSecurityContext()
By default, a noop fallback implementation is returned.
By default, the consumer is using
getSecurityContext() to associate the security context.
Copyright © 2008–2017. All rights reserved.