Class ImpersonationSessionService
- java.lang.Object
- 
- com.netgrif.application.engine.impersonation.service.ImpersonationSessionService
 
- 
- All Implemented Interfaces:
- IImpersonationSessionService
 
 @Service public class ImpersonationSessionService extends java.lang.Object implements IImpersonationSessionService 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ImpersonatorRepositoryimpersonatorRepositoryprotected org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session>registryprotected org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session>sessions
 - 
Constructor SummaryConstructors Constructor Description ImpersonationSessionService()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexistsSession(java.lang.String username)booleanisImpersonated(java.lang.String userId)voidsetImpersonatorRepository(ImpersonatorRepository impersonatorRepository)voidsetRegistry(org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry)voidsetSessions(org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions)
 
- 
- 
- 
Field Detail- 
sessionsprotected org.springframework.session.FindByIndexNameSessionRepository<? extends org.springframework.session.Session> sessions 
 - 
registryprotected org.springframework.session.security.SpringSessionBackedSessionRegistry<? extends org.springframework.session.Session> registry 
 - 
impersonatorRepositoryprotected ImpersonatorRepository impersonatorRepository 
 
- 
 - 
Method Detail- 
existsSessionpublic boolean existsSession(java.lang.String username) - Specified by:
- existsSessionin interface- IImpersonationSessionService
 
 - 
isImpersonatedpublic boolean isImpersonated(java.lang.String userId) - Specified by:
- isImpersonatedin interface- IImpersonationSessionService
 
 - 
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) 
 
- 
 
-