WPI GDC CMS 0.0.1

org.wpi.gdc.cms.main
Class ACLGroupEntry

java.lang.Object
  |
  +--org.wpi.gdc.cms.main.ACLEntry
        |
        +--org.wpi.gdc.cms.main.ACLGroupEntry

public class ACLGroupEntry
extends ACLEntry

An Access Control List entry. This class defines an ACL entry that applies to a group.

Version:
1.2
Author:
dmpotter

Fields inherited from class org.wpi.gdc.cms.main.ACLEntry
permissions
 
Constructor Summary
ACLGroupEntry()
           
 
Method Summary
 boolean checkUser(User user)
          Determines if the User object passed has permissions that come from this ACL.
 
Methods inherited from class org.wpi.gdc.cms.main.ACLEntry
getPermissions, hasPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLGroupEntry

public ACLGroupEntry()
Method Detail

checkUser

public boolean checkUser(User user)
Determines if the User object passed has permissions that come from this ACL. (In other words, if this is a User ACL entry, this is true if the User passed is the user being checked, if it is a Group ACL entry, it is true if the User being passed is in the group.)
Overrides:
checkUser in class ACLEntry
Parameters:
user - the user being checked as gaining permissions from this entry.
Returns:
true if the user does gain permissions from this entry, false otherwise.

WPI GDC CMS 0.0.1

Copyright © 2001 WPI Game Development Club. All Rights Reserved.