Ah, in that case you're right, my idea will
definitely not work for you. For your situation, I'm not sure what to
tell you, so maybe someone else can chime in. I don't know of a way in
glassfish to update groups/roles dynamically, but there may be another
way to dynamically configure permissions during runtime since all the
resources are not known at startup.
If I receive who is the invoker EnterpriseBean combining with my own
JDBC Realm this can be realized very easy. So, my question is is it
possible to retrieve or to receive the invoker EnterpriseBean?
The best variant will be if in the JavaEE 5 Security this method looks:
getGroupNames(String username, EnterpriseBean
targetObject)
The existing getGroupNames can be specified as follow:
getGroupNames(String username)
{
getGroupNames(username, null);
}
Regards,
Miro.
Bobby Bissett - Javasoft wrote:
The static groups are not the solution for my
application because I don't know in advance how many cinemas will be
entered, what will be their names, the relation between Users and
Cinemas, and etc.
Ah, in that case you're right, my idea will definitely not work for
you. For your situation, I'm not sure what to tell you, so maybe
someone else can chime in. I don't know of a way in glassfish to update
groups/roles dynamically, but there may be another way to dynamically
configure permissions during runtime since all the resources are not
known at startup.
Why you do private case as principals instead
to implements the real world situations which can solve private cases
also?
Sorry, I don't think I understand the question.
Cheers,
Bobby
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net