@WebListener public class AuthTokenRequestContextListener extends AbstractRequestContextListener
RequestContextListener
that obtain the current Jwt
bearer from the Authorization
header of the current request when working with non-container managed threads on SAP Cloud Platform Cloud Foundry.RequestContextListener.DefaultPriorities
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_AUTH_TOKEN |
naturalOrdering, reverseOrdering
Constructor and Description |
---|
AuthTokenRequestContextListener() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Returns the priority that defines the order in which listeners are invoked.
|
contextDestroyed, contextInitialized, requestContextDestroyed, requestContextInitialized
public static final String PROPERTY_AUTH_TOKEN
public int getPriority()
RequestContextListener
Copyright © 2018 SAP SE. All rights reserved.