|
|||||||||
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(java.lang.String roleName)
Add the given role to the list of roles allowed to call this method. |
java.security.Permission |
getPermission()
|
java.util.List<java.lang.String> |
getRoles()
|
boolean |
isExcluded()
|
boolean |
isUnchecked()
|
void |
setExcluded(boolean excluded)
This method is excluded (no call allowed if true). |
void |
setPermission(java.security.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(java.lang.String roleName)
roleName
- the name of the role.java.util.List<java.lang.String> getRoles()
void setPermission(java.security.Permission permission)
permission
- the permission to set.java.security.Permission getPermission()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |