[mitreid-connect] client id in AuthenticationUserDetailsService

Martin Kuba makub at ics.muni.cz
Tue Feb 6 09:55:24 EST 2018


Dear all,

in my implementation of AuthenticationUserDetailsService, I need to throw UsernameNotFoundException
for certain combinations of users and clients. But the only argument the loadUserDetails() method
receives is PreAuthenticatedAuthenticationToken which does not contain id of the client.

Is it possible to get client id of the current authentication request in the loadUserDetails() method?

Best regards

Martin

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CERIT-SC                               Martin Kuba
Institute of Computer Science    email: makub at ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------


More information about the mitreid-connect mailing list