on 08-28-2019 11:07 AM
Hi,
We are trying to identify a particular user session and invalidate it.For this we are using sessionRegistry.
But sessionRegistry.getAllPrincipals() is empty.
We are accessing sessionRegistry in our class as below..
@Autowired
private SessionRegistry sessionRegistry;
and the below bean is added in spring.xml
<beanid="sessionRegistry"class="org.springframework.security.core.session.SessionRegistryImpl"/>
Any suggestions or workaround on how to use sessionRegistry in our application context would be of great help.
Thanks.
User | Count |
---|---|
4 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.