public static interface AuthContext.AuthenticationHolder
Authentication holder, which handles the current Authentication reference on behalf
of the Auth context.| Modifier and Type | Method and Description |
|---|---|
Optional<Authentication> |
getAuthentication()
Get the current
Authentication. |
void |
setAuthentication(Authentication authentication)
Set the current
Authentication. |
Optional<Authentication> getAuthentication()
Authentication.Authentication, empty if not presentvoid setAuthentication(Authentication authentication)
Authentication.authentication - The authentication to set (may be null)Copyright © 2019 The Holon Platform. All rights reserved.