biz.hammurapi.web.security
Interface Protected
- public interface Protected
Objects with associated ACL implement this interface.
- Author:
- Daniel
|
Method Summary |
boolean |
hasPermission(java.lang.String userName,
java.lang.String action)
Checks user permission on this object |
hasPermission
public boolean hasPermission(java.lang.String userName,
java.lang.String action)
- Checks user permission on this object
- Parameters:
userName - User login nameaction - Action name
- Returns:
- true if user with given name has permission to execute given action on this object.
Copyright © 2006 Hammurapi Group. All Rights Reserved.