Administration Console Online Help

 Previous Next Contents Index  

 


Security Role Ref --> Configuration

Tasks     Additional Documentation     Attributes

Overview

Use this tab to map a security role name to a security role link. You can write your servlets to access users and roles programmatically in your servlet code using the method javax.servlet.http.HttpServletRequest.isUserInRole(String role). The string role is mapped to the name supplied in the role-name element nested inside the security-role-ref element of a servlet declaration in the Web Application deployment descriptor. The role-link element maps to a role-name defined in the security-role element of the Web Application deployment descriptor.

Tasks

Configuring a New Web Application or Web Service

Using the Web Application Deployment Descriptor Editor

Configuring Error Pages

Additional Documentation

(Requires an Internet connection.)

Restricting Access to Resources in a Web Application

Writing Web Application Deployment Descriptors

Attributes

Attribute Label

Description

Value Constraints

Role Name

Contains the name of a security role; must contain a non-empty string.

Attribute: RoleName

Configurable: yes

Readable: yes

Writable: yes

Role Link

Attribute: RoleLink

Configurable: yes

Readable: yes

Writable: yes

Description

Text description of parent element.

Attribute: Description

Configurable: yes

Readable: yes

Writable: yes



 

Back to Top Previous Next