Hi,

I've implemented by own realm to deal with our security model (a database
realm).The problem I'm having right now is that in our database, each user
is associated with a company id (1,2,3...). I would like to access this
information from the Subject object in the code to be able to use it with my
permissions check. I saw that there is a Builder concept for the Subject,
but it doesn't seem to be what I should use in a normal usage (web
application). 

Is there anything I can add to my realm to be able to push additional
information (like the company id) to the Subject ?

Thanks

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Subject-custom-data-from-database-tp6559272p6559272.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to