reset password
Author Message
nextmatrixman
Posts: 57
Posted 22:09 Aug 13, 2015 |

Can we use our own logout logic that invalidates the session and return to the home page, or do we have to use the Spring logout (i.e. example in the lecture video and PPT)?

cysun
Posts: 2935
Posted 23:46 Aug 13, 2015 |

You must use Spring Security <logout>. Spring Security supports various authentication schemes. Sometimes invaliding session is not enough.