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

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -