Hitachi

uCosminexus Application Server Security Management Guide


16.1 List of the tags contained in the tag library

The integrated user management framework provides a JSP tag library for implementation of user authentication functionality in JSP.

To import this library into JSP, write the following code in JSP:

<%@ taglib uri="http://cosminexus.com/admin/auth/uatags" prefix="ua" %>

The table below lists the tags contained in this library.

Table 16‒1: List of the tags in the JSP tag library

Tag name

Overview

<ua:attributeEntries>Entries</ua:attributeEntries> tag

Used together with <ua:attributeEntry/> tags to specify a list of user attributes to be obtained at login.

<ua:attributeEntry/> tag

Specifies the user attribute to be obtained at login.

<ua:chpw/> tag

Changes the specified user's password.

<ua:exception>Body</ua:exception> tag

Specifies the exception processing.

<ua:getPrincipalName/> tag

Obtains or displays the Principal name (user ID) of a logged-in user.

<ua:getAttribute/> tag

Obtains or displays the user attribute value of a logged-in user.

<ua:getAttributes/> tag

Obtains or displays the user attribute values (Multi-Value) of a logged-in user.

<ua:getAttributeNames/> tag

Obtains or displays a list of the user attribute names of a logged-in user.

<ua:login/> tag

Logs a user in.

<ua:logout/> tag

Logs a user out.

<ua:notLogin>Body</ua:notLogin> tag

Specifies the processing required when there is no logged-in user.

If this tag is entered at the beginning of each JSP page, you can check for a logged-in user before processing a JSP page.

This chapter describes the attributes of each tag in tabular form. The Type column indicates the type of script variable defined for each tag attribute. The C/E column includes C or E. C indicates that the tag attribute value is evaluated at JSP compile time. E indicates that it is evaluated at execution time.