If you use Tynamo Security + Apache Shiro then you can get current
authenticated subject via static context:

org.apache.shiro.SecurityUtils.getSubject()


http://tynamo.org/tapestry-security+guide


On Fri, May 31, 2013 at 5:00 PM, John <j...@quivinco.com> wrote:

> Hi,
>
> Is there a way of obtaining the logged in username from the http session
> and somehow getting that into JPA so I can log who is making changes inmy
> DAO layer?
>
> I'm trying to integrate using the EclipseLink history classes but these
> are all in the JPA layer.
>
> regards,
> John




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to