Thanks Quintin for sharing your experience.
Actually I can't use processAll(). In normal cases the processAll() would
work but in some cases I need to do something else between those three
methods and processAll() can't be the right way
Creating session keys requires to involve more complexity a
Or maybe a better way would be to use a custom SecurityService (which
could extend the GeronimoSecurityService) in some way? Though this
would still require accessing the ThreadContext.
Quintin Beukes
On Sat, Nov 14, 2009 at 2:02 PM, Quintin Beukes wrote:
> To achieve this I had a look at the
To achieve this I had a look at the OpenEJB code.
Would the following be a valid way of doing so. I understand it's not
portable at all, though like I mentioned this is acceptable for this
situation. Much of our authentication/authorization code for the
client side is not portable, as JavaEE doesn
Hey,
I've got a bunch of @RolesAllowed annotations, which basically
reference the group principals of my users. They work perfectly.
Further I can also retrieve the subject name by accessing the
UserPrincipal through the EJBContext.
How can I retrieve all the group principal, or "Role Names". Thi
Just in case you're not aware of this, if you're done with the
stateful, you can destroy it with an @Remove method.
Other alternatives could be to wrap those calls into a single call like this:
sessionBean.processAll() and inside sessionBean call pre/process/post.
I had a similar case with Glassf
Yes. Same ear. I'll do some more tests when I get my life back and
post a JIRA for it. ;>
Quintin Beukes
On Wed, Nov 11, 2009 at 12:30 AM, David Blevins wrote:
>
> On Nov 6, 2009, at 2:23 AM, Quintin Beukes wrote:
>
>> I don't think this is a big problem. I just wanted to put it in there as a
Are you trying to use a different mode or version of Hibernate than
the standard or something? Unless I missed something which is causing
this, you should be able to run standard hibernate by adding the
following to your persistence.xml and then using the standard
hibernate-core/annotations/entitym