reset password
Author Message
lbriggs
Posts: 57
Posted 20:01 Jun 03, 2014 |

I am able to log in, but cant get a user to log out. Ive tried things like:

<a href="<c:url value="/j_spring_security_logout" var="logoutUrl" />">logout</a>

but no luck. also have tried:

<security:logout logout-success-url="/" logout-url="/logout" />

 

then a link to "/logout" 

Last edited by lbriggs at 20:08 Jun 03, 2014.
lbriggs
Posts: 57
Posted 20:22 Jun 03, 2014 |

<a href="/ttt/j_spring_security_logout">logout</a>

 

ended up working

cysun
Posts: 2935
Posted 20:22 Jun 03, 2014 |

/j_spring_security_logout should log a user out. What error did you see?

lbriggs
Posts: 57
Posted 23:17 Jun 03, 2014 |

It was taking me to the root of the server, http:localhost:8099/j_spring_secruity_logout

instead i needed to go to the root of my web application ttt/j_spring_secruity_logout