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 Object implements org.springframework.security.core.context.SecurityContextHolderStrategy
  • Constructor Details

    • TestSecurityContextHolderStrategyAdapter

      public TestSecurityContextHolderStrategyAdapter()
  • Method Details

    • clearContext

      public void clearContext()
      Specified by:
      clearContext in interface org.springframework.security.core.context.SecurityContextHolderStrategy
    • getContext

      public org.springframework.security.core.context.SecurityContext getContext()
      Specified by:
      getContext in interface org.springframework.security.core.context.SecurityContextHolderStrategy
    • setContext

      public void setContext(org.springframework.security.core.context.SecurityContext context)
      Specified by:
      setContext in interface org.springframework.security.core.context.SecurityContextHolderStrategy
    • createEmptyContext

      public org.springframework.security.core.context.SecurityContext createEmptyContext()
      Specified by:
      createEmptyContext in interface org.springframework.security.core.context.SecurityContextHolderStrategy