|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.bea.p13n.usermgmt.taglib.UserManagementTag
com.bea.p13n.usermgmt.taglib.GetGroupNamesForUserTag
Corresponds to <ugm:getGroupNamesForUser>.
The <ugm:getGroupNamesForUser> tag retrieves
a String array that contains the group names corresponding to groups
to which the provided user immediately belongs. The tag has no
enclosed body.
|
Tag Attribute |
Required |
Type |
Description |
|
atnProvider |
no |
String |
The name of the authentication provider containing the user. The default provider will be used if not specified. Example: " |
|
username |
yes |
String |
The name of the user whose matching groups are sought. Example: " |
|
id |
yes |
String |
A variable name to which the resultant group names are assigned. Example: "myGroups" |
| Field Summary |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
GetGroupNamesForUserTag()
|
|
| Method Summary | |
int |
doStartTag()
Go through the UserManager session bean to retrieve the list of groups that the given user belongs to. |
String |
getAtnProvider()
Get the name of the authentication provider |
String |
getUsername()
Get the username to query |
void |
release()
Reset the tag attributes |
void |
setAtnProvider(String atnProvider)
Set the name of the authentication provider |
void |
setUsername(String username)
Set the username to query |
| Methods inherited from class com.bea.p13n.usermgmt.taglib.UserManagementTag |
getAtnManagerProxy |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GetGroupNamesForUserTag()
| Method Detail |
public int doStartTag()
throws JspException
JspExceptionpublic String getAtnProvider()
public String getUsername()
public void release()
release in interface Tagrelease in class UserManagementTagpublic void setAtnProvider(String atnProvider)
public void setUsername(String username)
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||