Hi Is it possible to set either the primary principal or an additional principal for a subject outside of the authenticating realms configured in shiro.ini? If so, could you provide me with some points or examples please?
The reason for the question is I would like to associate a UUID obtained from a database that uniquely identifies the user which I can then retrieve for use in other parts of the web based application, however the authentication may not have been performed by the JDBC realm. Ideally I would like to use an authentication listener to set this UUID obtained from the database as the primary principal. Not sure if its relevant but this is a web based application. Many Thanks Paul -- View this message in context: http://shiro-user.582556.n2.nabble.com/Setting-Principals-Outside-of-a-Realm-tp7579653.html Sent from the Shiro User mailing list archive at Nabble.com.
