com.raritantechnologies.security
Interface IUserPermission

All Known Implementing Classes:
AllUserPermission, DBUserPermission

public interface IUserPermission

Base interface for user permission handling.

Method determines if a permission description is owned by a user.
Developed by Raritan Technologies .

Author:
Ted Sullivan

Method Summary
 boolean hasPermission(java.lang.String accessLevelDescription, ILoginInfo loginInfo)
          returns true if the user represented by the login information object has the permission described by the accessLevelDescription parameter.
 void initialize()
           
 

Method Detail

initialize

public void initialize()

hasPermission

public boolean hasPermission(java.lang.String accessLevelDescription,
                             ILoginInfo loginInfo)
returns true if the user represented by the login information object has the permission described by the accessLevelDescription parameter.

Parameters:
accessLevelDescription - Describes the permission requested.
loginInfo - LoginInfo containing identification credentials of the user.