public class GlobalAradinContextHolderStrategy extends Object implements AradinContextHolderStrategy
| 构造器和说明 |
|---|
GlobalAradinContextHolderStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearContext()
Clears the current context.
|
AradinContext |
createEmptyContext()
Creates a new, empty context implementation, for use by
SecurityContextRepository implementations, when creating a new context for
the first time.
|
AradinContext |
getContext()
Obtains the current context.
|
void |
setContext(AradinContext context)
Sets the current context.
|
public void clearContext()
AradinContextHolderStrategyclearContext 在接口中 AradinContextHolderStrategypublic AradinContext getContext()
AradinContextHolderStrategygetContext 在接口中 AradinContextHolderStrategynull - create a default implementation if
necessary)public void setContext(AradinContext context)
AradinContextHolderStrategysetContext 在接口中 AradinContextHolderStrategycontext - to the new argument (should never be null, although
implementations must check if null has been passed and throw an
IllegalArgumentException in such cases)public AradinContext createEmptyContext()
AradinContextHolderStrategycreateEmptyContext 在接口中 AradinContextHolderStrategyCopyright © 2022. All rights reserved.