public class VaadinSecurityContextHolderStrategy extends Object implements org.springframework.security.core.context.SecurityContextHolderStrategy
SecurityContextHolderStrategy that stores the SecurityContext in the Vaadin Session and in an InheritableThreadLocal CONTEXT_HOLDER.ThreadLocal| Constructor and Description |
|---|
VaadinSecurityContextHolderStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearContext() |
org.springframework.security.core.context.SecurityContext |
createEmptyContext() |
org.springframework.security.core.context.SecurityContext |
getContext() |
void |
setContext(org.springframework.security.core.context.SecurityContext context) |
public void clearContext()
clearContext in interface org.springframework.security.core.context.SecurityContextHolderStrategySecurityContextHolderStrategy.clearContext()public org.springframework.security.core.context.SecurityContext getContext()
getContext in interface org.springframework.security.core.context.SecurityContextHolderStrategySecurityContextHolderStrategy.getContext()public void setContext(org.springframework.security.core.context.SecurityContext context)
setContext in interface org.springframework.security.core.context.SecurityContextHolderStrategySecurityContextHolderStrategy.setContext(org.springframework.security.core.context.SecurityContext)public org.springframework.security.core.context.SecurityContext createEmptyContext()
createEmptyContext in interface org.springframework.security.core.context.SecurityContextHolderStrategySecurityContextHolderStrategy.createEmptyContext()Copyright © 2017 Université de Lorraine. All rights reserved.