[mitreid-connect] client id in AuthenticationUserDetailsService
Yannick Béot
yannick.beot at gmail.com
Tue Feb 6 11:21:09 EST 2018
Hi,
Why do you need this? For authorization?
In any case, I would not implement my own authentication mechanism and rely
on spring security for LDAP, DB or any other repository
Y.
On Tue, Feb 6, 2018 at 3:55 PM, Martin Kuba <makub at ics.muni.cz> wrote:
> 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
> --------------------------------------------------------------
> _______________________________________________
> mitreid-connect mailing list
> mitreid-connect at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mitreid-connect
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20180206/5a1913eb/attachment.html
More information about the mitreid-connect
mailing list