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.