|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMethodSecurityInfo
Used to describe permission information for a given method.
| Method Summary | |
|---|---|
void |
addRole(String roleName)
Add the given role to the list of roles allowed to call this method. |
Permission |
getPermission()
|
List<String> |
getRoles()
|
boolean |
isExcluded()
|
boolean |
isUnchecked()
|
void |
setExcluded(boolean excluded)
This method is excluded (no call allowed if true). |
void |
setPermission(Permission permission)
Sets the permission. |
void |
setUnchecked(boolean unchecked)
This method is unchecked (if true, all calls are allowed to this method). |
| Method Detail |
|---|
void setExcluded(boolean excluded)
excluded - boolean true/false.boolean isExcluded()
void setUnchecked(boolean unchecked)
unchecked - boolean true/false.boolean isUnchecked()
void addRole(String roleName)
roleName - the name of the role.List<String> getRoles()
void setPermission(Permission permission)
permission - the permission to set.Permission getPermission()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||