[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PolicyEvaluatorAdmin



Hi,

I do not agree with the apply_policy() method doing different things based
on the PolicyName...

Currently, it  

1) applies an additional policy if the PolicyName is not NO_ACCESS_POLICY
2) removes all policies if the PolicyName is NO_ACCESS_POLICY.

I believe apply_policy() should behave consistently and there should be an
additional method for resetting policy or removing policy. 

I propose:

apply_policy()  resets the policy to the one policy specified in the
argument.  NO_ACCESS_POLICY would be a valid policy.

add_policy() adds a policy to the policies that are currently in force for
the ResourceName

Implementations that only support a single policy per ResourceName could
throw an exception for add_policy().

Carol
_________________________________________________________
Carol Burt                                             2AB, Inc.
cburt@2ab.com                                     Integration Architects
205-621-7455                                        www.2ab.com
Member, OMG Architecture Board          OMG Domain Member

   --  integrating yesterday's systems with today's technology --
----------------
Broadcast message to hrac-rfp from Carol Burt <cburt@2ab.com>.
Go to http://cadse.cs.fiu.edu/omg/hrac-rfp to browse the mail list archive.