|
|||||||||
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(java.lang.String roleName)
Adds a role for this bean (for isCallerInRole). |
void |
addMethodSecurityInfo(IMethodSecurityInfo methodSecurityInfo)
Adds a method containing security. |
java.util.List<java.lang.String> |
getDeclaredRoles()
|
java.util.List<IMethodSecurityInfo> |
getMethodSecurityInfos()
|
java.lang.String |
getRunAsRole()
Gets run-as name. |
javax.security.auth.Subject |
getRunAsSubject()
Gets run-as role subject. |
void |
setDeclaredRole(java.util.List<java.lang.String> declaredRoles)
Sets the list of declared roles. |
void |
setRunAsRole(java.lang.String runAsRole)
Sets the name of the run-as security role. |
Method Detail |
---|
void addDeclaredRole(java.lang.String roleName)
roleName
- the name of a role.void setDeclaredRole(java.util.List<java.lang.String> declaredRoles)
declaredRoles
- list of declared roles.java.util.List<java.lang.String> getDeclaredRoles()
void addMethodSecurityInfo(IMethodSecurityInfo methodSecurityInfo)
methodSecurityInfo
- the info about security.java.util.List<IMethodSecurityInfo> getMethodSecurityInfos()
void setRunAsRole(java.lang.String runAsRole)
runAsRole
- the name of the role.java.lang.String getRunAsRole()
javax.security.auth.Subject getRunAsSubject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |