These are chat archives for alvarosanchez/spring-security-rest
A token-based, RESTful authentication library for Spring Security
springSecurityService.principal(inject that bean in your controller)
tokenGeneratorbean instead of manually building an instance of one of them
@alvarosanchez thanks :) (I know the code I wrote has a lot of wrong things, sorry about that, I just figured them out after but I can't edit anymore).
Another question : Is there a controller already available for registering users ? I found nothing in SS core, maybe I missed it.
And the springSecurityService.currentUser will return me the Spring Security User and not my custom User. So do you suggest me to modify the generated User by SpringSecurity Core (as suggested by their documentation), or to extend it or to have a reference to it ?