| org.ow2.easybeans.api.bean.info.IMethodSecurityInfo
All known Subclasses: org.ow2.easybeans.container.info.security.MethodSecurityInfo,
IMethodSecurityInfo | public interface IMethodSecurityInfo (Code) | | Used to describe permission information for a given method.
author: Florent Benoit |
addRole | void addRole(String roleName)(Code) | | Add the given role to the list of roles allowed to call this method.
Parameters: roleName - the name of the role. |
getRoles | List<String> getRoles()(Code) | | list of roles allowed to call this method. |
isExcluded | boolean isExcluded()(Code) | | true if the method is excluded. |
isUnchecked | boolean isUnchecked()(Code) | | true if the method is unchecked. |
setExcluded | void setExcluded(boolean excluded)(Code) | | This method is excluded (no call allowed if true).
Parameters: excluded - boolean true/false. |
setPermission | void setPermission(Permission permission)(Code) | | Sets the permission.
Parameters: permission - the permission to set. |
setUnchecked | void setUnchecked(boolean unchecked)(Code) | | This method is unchecked (if true, all calls are allowed to this method).
Parameters: unchecked - boolean true/false. |
|
|