|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISecurityInfo
Runtime info about security.
| Method Summary | |
|---|---|
void |
addDeclaredRole(String roleName)
Adds a role for this bean (for isCallerInRole). |
void |
addMethodSecurityInfo(IMethodSecurityInfo methodSecurityInfo)
Adds a method containing security. |
List<String> |
getDeclaredRoles()
|
List<IMethodSecurityInfo> |
getMethodSecurityInfos()
|
String |
getRunAsRole()
Gets run-as name. |
Subject |
getRunAsSubject()
Gets run-as role subject. |
List<org.ow2.util.ee.metadata.common.api.xml.struct.ISecurityRoleRef> |
getSecurityRoleRefList()
Gets the list of <security-role-ref> elements. |
void |
setDeclaredRole(List<String> declaredRoles)
Sets the list of declared roles. |
void |
setRunAsRole(String runAsRole)
Sets the name of the run-as security role. |
| Method Detail |
|---|
void addDeclaredRole(String roleName)
roleName - the name of a role.void setDeclaredRole(List<String> declaredRoles)
declaredRoles - list of declared roles.List<String> getDeclaredRoles()
void addMethodSecurityInfo(IMethodSecurityInfo methodSecurityInfo)
methodSecurityInfo - the info about security.List<IMethodSecurityInfo> getMethodSecurityInfos()
void setRunAsRole(String runAsRole)
runAsRole - the name of the role.String getRunAsRole()
Subject getRunAsSubject()
List<org.ow2.util.ee.metadata.common.api.xml.struct.ISecurityRoleRef> getSecurityRoleRefList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||