Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-940: Create JSP tag for retrieving authorization objects in switch user chain #1186

spring-issuemaster opened this Issue Jul 28, 2008 · 2 comments


None yet
1 participant

Jon Osborn(Migrated from SEC-940) said:

It would be great to have a taglib that exposes the administrator authorization object when the switch user functionality is in use. We use this to determine who the logged in person is when they are ‘simulating’ someone else. The difficulty from an EL perspective is that the grantedauthorities must be enumerated while looking for the SwitchUserGrantedAuthorityImpl object (which contains the source Authorization).

A foreach statement in EL can get this done but it is ugly.

Luke Taylor said:

Feel free to submit a patch for review, but it doesn’t sound like a requirement many users will have.

Jon Osborn said:

Ok, will do. The code is really pretty simple and shouldn’t introduce a maintenance headache.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment