AMF Login over Spring security

I'm trying to return some custom Authentication data using the details and/or the principal fields from that interface (org.springframework.security.core.Authentication) but nothing happens. The data returned on the other side of the Channel Set includes only the name and the authorities list (as Strings), and it's not useful enough

How can I transmit additional data on a Spring login request ?

Answers


Hopefully one can attach some custom data to a Spring Authentication instance (created by calling ChannelSet.login) as described in the following links:


Need Your Help

Button not call post form with Razor C#

c# jquery asp.net-mvc razor

I have a page with post and wanted when the user clicks on the button "Atualizar", instead of calling the post, called a JQuery. How to do this?

JWPlayer JavaScript integration suddenly not working

javascript video callback jwplayer

We use JWPlayer for video playback, with only a single player embedded in any page, and suddenly it has stopped executing callbacks, though it does not throw errors when the listeners are registere...