@Beta public class SecurityContextThreadContextDecorator extends Object implements ThreadContextDecorator
ThreadContextDecorator
that ensures the correct initialization of Tokens
when
working with non-container managed threads on Cloud Foundry.ThreadContextDecorator.DefaultPriorities
Constructor and Description |
---|
SecurityContextThreadContextDecorator() |
Modifier and Type | Method and Description |
---|---|
<T> Callable<T> |
decorateCallable(Callable<T> callable)
Decorate a generic callable with ThreadContext specific properties.
|
int |
getPriority()
Returns the priority that defines the order in which decorators are applied.
|
public SecurityContextThreadContextDecorator()
@Nonnull public <T> Callable<T> decorateCallable(@Nonnull Callable<T> callable)
ThreadContextDecorator
decorateCallable
in interface ThreadContextDecorator
T
- Callable generic return type.callable
- The callable to be decorated.public int getPriority()
ThreadContextDecorator
getPriority
in interface ThreadContextDecorator
Copyright © 2021 SAP SE. All rights reserved.