Interface SecurityRoleReference
-
- All Known Implementing Classes:
RoleReference
public interface SecurityRoleReferenceObjects exhibiting this interface represent an indirection between a hard coded role name in a Servlet or JSP and an abstract security role in the web application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()StringgetRoleName()The name of this role reference, which is a role that is locally scoped to a single Servlet.SecurityRolegetSecurityRoleLink()The link to the global (application scoped) role, which is the role declared inweb.xmlor via theDeclareRolesannotation.voidsetDescription(String description)voidsetRoleName(String rolename)voidsetSecurityRoleLink(SecurityRole securityRole)
-
-
-
Method Detail
-
getRoleName
String getRoleName()
The name of this role reference, which is a role that is locally scoped to a single Servlet.
-
setRoleName
void setRoleName(String rolename)
-
getSecurityRoleLink
SecurityRole getSecurityRoleLink()
The link to the global (application scoped) role, which is the role declared inweb.xmlor via theDeclareRolesannotation. This link is expressed via the e.g. thetag inweb.xml.
-
setSecurityRoleLink
void setSecurityRoleLink(SecurityRole securityRole)
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
-