Interface SecurityRoleReference
-
- All Known Implementing Classes:
RoleReference
public interface SecurityRoleReference
Objects 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 String
getDescription()
String
getRoleName()
The name of this role reference, which is a role that is locally scoped to a single Servlet.SecurityRole
getSecurityRoleLink()
The link to the global (application scoped) role, which is the role declared inweb.xml
or via theDeclareRoles
annotation.void
setDescription(String description)
void
setRoleName(String rolename)
void
setSecurityRoleLink(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.xml
or via theDeclareRoles
annotation. This link is expressed via the e.g. the
tag inweb.xml
.
-
setSecurityRoleLink
void setSecurityRoleLink(SecurityRole securityRole)
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
-