Class ImpersonationSessionService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ImpersonatorRepository impersonatorRepository  
      protected org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry  
      protected org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean existsSession​(java.lang.String username)  
      boolean isImpersonated​(java.lang.String userId)  
      void setImpersonatorRepository​(ImpersonatorRepository impersonatorRepository)  
      void setRegistry​(org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry)  
      void setSessions​(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sessions

        protected org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions
      • registry

        protected org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry
    • Constructor Detail

      • ImpersonationSessionService

        public ImpersonationSessionService()
    • Method Detail

      • setSessions

        @Autowired
        @Lazy
        public void setSessions​(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions)
      • setRegistry

        @Autowired
        @Lazy
        public void setRegistry​(org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry)
      • setImpersonatorRepository

        @Autowired
        @Lazy
        public void setImpersonatorRepository​(ImpersonatorRepository impersonatorRepository)