Hitachi

uCosminexus Application Server Security Management Guide


16.2.8 The <ua:getAttributeNames/> tag

Organization of this subsection

(1) Description

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

(2) Tag attributes

The following table lists the tag attributes.

Table 16‒9: Tag attributes (<ua:getAttributeNames/> tag)

Tag attribute

Description

Type

Required?

C/E

id="id"

Specifies the identifier of an instance that references the list of the user attribute names of a logged-in user. This tag attribute can also be used for the name of the script variable that references this instance. The type of this script variable is java.util.Enumeration. This instance has a page scope, which means that it can be referenced within the JSP page in which it is created. Therefore, the specified identifier should be unique for each page scope. If the id tag attribute is omitted, the obtained user attribute values are embedded one at a time into the JSP page by using the toString method.

java.util.Enumeration

O

C

name="name"

Specifies the identifier (specified with the id tag attribute) of the JAAS LoginContext object specified with the <ua:login/> tag. If an incorrect identifier is specified, the id script variable is set to null.

n/a

R

E

Legend:

R: Required

O: Optional

n/a: Not applicable

C: Indicates that the tag attribute value is evaluated at JSP compile time.

E: Indicates that the tag attribute value is evaluated at execution time.