com.raritantechnologies.security
Class AllUserPermission

java.lang.Object
  extended bycom.raritantechnologies.security.AllUserPermission
All Implemented Interfaces:
IUserPermission

public class AllUserPermission
extends java.lang.Object
implements IUserPermission

Implementation of IUserPermission that universally grants permissions.


Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
AllUserPermission()
           
 
Method Summary
 boolean hasPermission(java.lang.String accessLevelDescription, ILoginInfo li)
          returns true if the user represented by the login information object has the permission described by the accessLevelDescription parameter.
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllUserPermission

public AllUserPermission()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface IUserPermission

hasPermission

public boolean hasPermission(java.lang.String accessLevelDescription,
                             ILoginInfo li)
Description copied from interface: IUserPermission
returns true if the user represented by the login information object has the permission described by the accessLevelDescription parameter.

Specified by:
hasPermission in interface IUserPermission
Parameters:
accessLevelDescription - Describes the permission requested.
li - LoginInfo containing identification credentials of the user.