Class PentahoSecurityContextHolderStrategy

  • All Implemented Interfaces:
    org.springframework.security.core.context.SecurityContextHolderStrategy

    public class PentahoSecurityContextHolderStrategy
    extends Object
    implements org.springframework.security.core.context.SecurityContextHolderStrategy
    Used by Spring Security's SecurityContextHolder to govern the creation and scope of a SecurityContext. This implementation is, with respect scope, the same as org.springframework.security.context.InheritableThreadLocalSecurityContextHolderStrategy. The SecurityContext implementations factoried by this class are of our own type PentahoSecurityContextHolderStrategy.PentahoSecurityContextImpl which manages Authentication in it's own InheritableThreadLocal Created by nbaker on 6/6/14.
    • Constructor Detail

      • PentahoSecurityContextHolderStrategy

        public PentahoSecurityContextHolderStrategy()
    • Method Detail

      • 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 sContext)
        Specified by:
        setContext in interface org.springframework.security.core.context.SecurityContextHolderStrategy
      • clearContext

        public void clearContext()
        Specified by:
        clearContext 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