These are chat archives for alvarosanchez/spring-security-rest

25th
Jun 2015
Lawrence Lee
@ChaosWars
Jun 25 2015 12:30
Is it possible to add a TokenReader without replacing the default behavior of the plugin?
I want to read the JWT from a GET parameter for one particular URI. It's a bit funky, but I'm dealing with a legacy system
Álvaro Sánchez-Mariscal
@alvarosanchez
Jun 25 2015 13:44
you can subclass BearerTokenReader, and in your implementation, if is the URI you want, read it from a GET parameter, else call super.findToken()
Lawrence Lee
@ChaosWars
Jun 25 2015 13:45
hehe, that's exactly what I did
thanks for the confirmation
Álvaro Sánchez-Mariscal
@alvarosanchez
Jun 25 2015 13:45
:+1:
Lawrence Lee
@ChaosWars
Jun 25 2015 16:39
Whoops, found a crash in the plugin. Where can I report it?