tomcat - spring-security not invalidating http sessions -


i have soap web service , implemented spring security authentication.

i generated client used in front end.

my problem each time client makes request web-service generates session , session stays there, session never gets invalidated.

here part of web.xml file:

<session-config> <session-timeout>1</session-timeout> </session-config>

what need session should invalidated after each request.

spring security http element has attribute 'create-session' can set 'stateless' after session never created.

e.g.

<http pattern="/restful/**" create-session="stateless">   <intercept-url pattern='/**' access='role_remote' />   <http-basic /> </http> 

documentation here:


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -