Ulrich - I'll be curious to see what you come up with. I also use Shiro and have the user stored in the database, and have been thinking that I need to have a better way of having access to the current user (e.g. using some annotation). I'm not entirely sure how this FieldConduit would work (what Lenny suggested).
Cheers - Alex K On Wed, Oct 31, 2012 at 6:42 PM, Ulrich Stärk <u...@spielviel.de> wrote: > On 31.10.2012 17:28, Lenny Primak wrote: > > The Principal is already saved by Shiro in the HttpSession, > > Exactly what I said. > > > why just not use a custom annotation with a FieldConduit > > that just gets it from Tynamo-security SecurityService? > > Because I haven't thought of that yet, thanks for the suggestion. Although > in my case it would > require loading the entity represented by the principal from persistent > storage so SecurityService > alone wouldn't be sufficient. > > Cheers, > > Uli > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >