@Singleton public class SessionAuthenticationFetcher extends Object implements AuthenticationFetcher
Authentication
from Session
.Modifier and Type | Field and Description |
---|---|
static Integer |
ORDER
The order of the fetcher.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SessionAuthenticationFetcher() |
Modifier and Type | Method and Description |
---|---|
Publisher<Authentication> |
fetchAuthentication(HttpRequest<?> request)
Attempts to read an
Authentication from a HttpRequest being executed. |
int |
getOrder() |
public static final Integer ORDER
public Publisher<Authentication> fetchAuthentication(HttpRequest<?> request)
AuthenticationFetcher
Authentication
from a HttpRequest
being executed.fetchAuthentication
in interface AuthenticationFetcher
request
- HttpRequest
being executed.Authentication
if found