spring Security + save information about connected user -
I am trying to develop a web project, I log in to the user in my application (ipad, log on disconnected Information about how to do this will be Savvardment. Use of Spring Security. Someone has a problem with this problem and thank you in advance.
In one option, the user profile must load a Spring Session left from Bean, for example: < / P>
@Component ("Profile") @ Clear (value = "session", Proxy MOD = SCOPPROXMODA. TARGET_CLASS) Implementes the public category profile Serializable {Private Long ID; Private string first name; Private string IP; ......}
Spring security can also control session management during logout. For example:
& lt; Sec: http & gt; & Lt; Sec: Logout Success-Handler-Ref = "Logout" Invalid-session = "True" Delete-Cookies = "JSACIID" /> & Lt; / Sec: http & gt;
Comments
Post a Comment