Class TestSecurityContextHolderStrategyAdapter
- java.lang.Object
-
- org.springframework.security.test.context.TestSecurityContextHolderStrategyAdapter
-
- All Implemented Interfaces:
org.springframework.security.core.context.SecurityContextHolderStrategy
public final class TestSecurityContextHolderStrategyAdapter extends java.lang.Object implements org.springframework.security.core.context.SecurityContextHolderStrategy
-
-
Constructor Summary
Constructors Constructor Description TestSecurityContextHolderStrategyAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearContext()org.springframework.security.core.context.SecurityContextcreateEmptyContext()org.springframework.security.core.context.SecurityContextgetContext()voidsetContext(org.springframework.security.core.context.SecurityContext context)
-
-
-
Method Detail
-
clearContext
public void clearContext()
- Specified by:
clearContextin interfaceorg.springframework.security.core.context.SecurityContextHolderStrategy
-
getContext
public org.springframework.security.core.context.SecurityContext getContext()
- Specified by:
getContextin interfaceorg.springframework.security.core.context.SecurityContextHolderStrategy
-
setContext
public void setContext(org.springframework.security.core.context.SecurityContext context)
- Specified by:
setContextin interfaceorg.springframework.security.core.context.SecurityContextHolderStrategy
-
createEmptyContext
public org.springframework.security.core.context.SecurityContext createEmptyContext()
- Specified by:
createEmptyContextin interfaceorg.springframework.security.core.context.SecurityContextHolderStrategy
-
-