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 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 in web.xml or via the DeclareRoles annotation. This link is expressed via the e.g. the tag in web.xml.
      • setSecurityRoleLink

        void setSecurityRoleLink​(SecurityRole securityRole)
      • getDescription

        String getDescription()
      • setDescription

        void setDescription​(String description)