uCosminexus Application Server, Security Management Guide
To obtain user attributes, it is required to specify the list of attributes that should be obtained by using the <ua:attributeEntries> tag. The following is an example of implementing the session to specify the list of user attributes.
<%@ taglib uri="http://cosminexus.com/admin/auth/uatags" prefix="ua" %> <ua:attributeEntries id="ae"> <ua:attributeEntry attrName="cn" alias="full name" /> ... </ua:attributeEntries> <ua:login id="lc" entry="Portal" attrEntName="ae" /> ... Full Name: <ua:getAttribute name="lc" attrName="full name" /> ... |
Then, the specified user attributes are obtained by using the <ua:getAttribute> tag.
<%@ taglib uri="http://cosminexus.com/admin/auth/uatags" prefix="ua" %> <ua:login id="lc" entry="Portal" attrFile="MyAttrs.csv" /> ... <ua:getAttribute name="lc" attrName="full name" id="fullname" /> Full Name: <%= fullname %> ... |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd