All Questions
Tagged with spring-session rest
8
questions
0
votes
1
answer
181
views
Request atomicity within microservices bounded context
Our project consists of multiple microservices. These microservices form a boundary to which the entry point is not strictly defined meaning each of microservices can be requested and can request ...
1
vote
1
answer
3k
views
Client-side cookie-based authentication with Spring Security
We have a fully-working back-end login POST service, implemented using Spring Security, along with Spring Boot and Spring Session. A user needs to be logged-in in order to access other services. The ...
1
vote
1
answer
2k
views
Spring Security sessionID as token configuration
I am implementing a login process using Spring Security + Spring session to build login functionality for a REST like backend service that needs to create/mantain a session.
I am not sure if I am ...
2
votes
1
answer
728
views
Notify client in browser about destroy Spring Session on server?
How to notify client in browser by message about destroy spring session on server?
In application for Education used technology: Spring Framework with Spring Security, Spring Session and Spring Data ...
1
vote
1
answer
2k
views
Spring Session + REST + Custom Authentication Filter(read credentials from JSON rather query param)
I'm trying to convert my rest services authentication from basic authentication to form based authentication the below code works fine(Note I've commented out custom authentication filter) if I send ...
0
votes
1
answer
368
views
How to use use `with(user(` when using Spring Session/Security in REST environment
Is it possible to pouplate a Test User with SecurityMockMvcRequestPostProcessors.user when using Spring Session with HeaderHttpSessionStrategy.
I tried something like:
mockMvc.perform(
get(URL)
...
4
votes
2
answers
3k
views
How to config spring-session to support HeaderHttpSessionStrategy and CookieHttpSessionStrategy in one application?
I have a project want to support android,ios,pc web. I try to use https://github.com/spring-projects/spring-session, can it be just config in an application to support HttpSession and rest token?
if ...
2
votes
2
answers
3k
views
Spring Session and CORS
I am using Spring session and Spring security for my REST API, but encountered a problem when I enabled CORS via a simple filter.
If I used a relative URI by http proxy(map http://xxxx/api to /api in ...