Class BasicAuthenticationThreadContextListener
java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.BasicAuthenticationThreadContextListener
- All Implemented Interfaces:
ThreadContextListener,Comparable<ThreadContextListener>
public class BasicAuthenticationThreadContextListener
extends Object
implements ThreadContextListener
ThreadContextListener implementation reading the Basic Authentication Header from the incoming request and
storing it in the current ThreadContext.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.sdk.cloudplatform.thread.ThreadContextListener
ThreadContextListener.DefaultPriorities -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe key of the stored BasicCredentials in the currentThreadContext. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.cloudplatform.thread.ThreadContextListener
beforeInitialize, compareTo
-
Field Details
-
PROPERTY_BASIC_AUTH_HEADER
The key of the stored BasicCredentials in the currentThreadContext.
-
-
Constructor Details
-
BasicAuthenticationThreadContextListener
public BasicAuthenticationThreadContextListener()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceThreadContextListener
-
afterInitialize
- Specified by:
afterInitializein interfaceThreadContextListener
-