users@glassfish.java.net

Re: Custom Principals with Custom Realm

From: <forums_at_java.net>
Date: Wed, 8 Jun 2011 06:42:15 -0500 (CDT)

 Hi,

I'm trying to do the same thing as you. I've implemented a custom realm and a
custom login module. In my login module, I make sure to add my custom
Principal first.

The problem is that the security context, when being constructed, sets the
initiator (which is the caller principal) by calling the
PrinicpalGroupFactory.

I don't understand with this implementation how a custom Principal is set as
initiator...

If someone can explain me in detail the behaviour, and point me to some
documentation or feature request.

Thanks in advance.


--
[Message sent by forum member 'Roinou']
View Post: http://forums.java.net/node/733971