wildfly/wildfly — pull request #5821 by darranl (2014-01-29 19:20:22+00:00)
Title: [WFLY-2584] Throw an IllegalArgumentException is a user attempts to swit...

...ch to a role that does not exist.

Note: This is only thrown for users that would have the ability to switch roles if the role actually existed - other users it still fails silently to stop them from using this to discover which roles actually exist.