gov.lanl.RAD.INMIS_Impl
Class Users

java.lang.Object
  |
  +--gov.lanl.RAD.INMIS_Impl.Users

public class Users
extends java.lang.Object

Provides a class for INMIS users and privileges....

 

Constructor Summary
Users(java.util.Properties inProps)
          Constructor for the class, expects a UserListFile entry in the properties, which is the xml containing the key for each user and the user's permissions file.
 
Method Summary
 boolean allowOp(org.omg.DfResourceAccessDecision.ResourceName resource_name, java.lang.String operation, org.omg.Security.SecAttribute[] attribute_list)
          Answers whether or not the operation will be allowed on the resource by the requestor identified in the attribute list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Users

public Users(java.util.Properties inProps)
Constructor for the class, expects a UserListFile entry in the properties, which is the xml containing the key for each user and the user's permissions file.

Parameters:
inProps - is the properties to use if needed
Method Detail

allowOp

public boolean allowOp(org.omg.DfResourceAccessDecision.ResourceName resource_name,
                       java.lang.String operation,
                       org.omg.Security.SecAttribute[] attribute_list)
Answers whether or not the operation will be allowed on the resource by the requestor identified in the attribute list.

Parameters:
resource_name - is the resource structure to be accessed
operation - is the operation requested for the resource structure
attribute_list - is the data identifing the requestor
Returns:
boolean true if ok, else false