views:

31

answers:

0

I have an application built with Spring and JPA/Hibernate that is working very well, but I now have a requirement to add Oracle Label Security. This will require the creation of a proxy user assigned with certain roles in addition to the actual user. I am unclear what goes into persistence.xml and what goes in code. Also, if we want to get really fancy, I would love to know how Spring can inject the proper persistence context with the mapping of user to proxy user.

If anyone has experience with this, any insight is appreciated.

thanks.