Token map correctly updated when removing participants
This commit is contained in:
parent
a4d79b6541
commit
c3b0c784b5
@ -162,7 +162,7 @@ public class RoomManager {
|
||||
}
|
||||
room.leave(participantId);
|
||||
|
||||
this.sessionIdTokenRole.get(roomName).remove(participantId);
|
||||
this.sessionIdTokenRole.get(roomName).remove(participant.getName());
|
||||
|
||||
Set<UserParticipant> remainingParticipants = null;
|
||||
try {
|
||||
|
||||
@ -36,7 +36,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
http.csrf().disable()
|
||||
.authorizeRequests()
|
||||
.antMatchers(HttpMethod.GET, "/getSessionId").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/getToken").authenticated()
|
||||
.antMatchers(HttpMethod.POST, "/newToken").authenticated()
|
||||
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user