Date: Mon, 18 Aug 1997 11:12:34 -0500
From: proberts@abaton.com (Paul Roberts)
To: java-security@web2.javasoft.com
Subject: groups method for Pricipal class needed
One of the security white papers covers the rules for how permissions
are calculated. It essentially is a union of the permissions for the
individual principal and any group to which they belong. The only way I
see to determine if a principal is a member of the group is the isMember
method in the Group class. That does not seem like an efficient way to
determine a principal's group memberships.
Given how the net permissions are calculated, it makes sense to me that
a method to get all the groups of which a principal is a member should
be added to the interface for java.security.Principal.
...or have I missed something?
-Paul