ResultTag
Corresponds to <ugm:createGroup>
.
The <ugm:createGroup>
tag creates a new group.
The tag has no enclosed body.
Tag Attribute |
Required |
Type |
Description |
atnProvider |
no |
String |
The name of the authentication provider in which the group will be created. The default provider will be used if not specified. Example: " |
groupName |
yes |
String |
The name of the new group. Example: " |
id |
no |
String |
A variable name to which the created Group object is available for the duration of the page's scope. |
parentName |
no |
String |
The new group name. |
result |
yes |
String |
The name of an Integer variable to which the result of the create group operation is assigned. Possible values:
Error Encountered:
A group with the specified group name already exists: |
Object
TagSupport
UserManagementTag
ResultTag
CreateGroupTag
IterationTag
, Serializable
, Tag
, UserManagementTagConstants
Field Summary |
Fields from com.bea.p13n.usermgmt.taglib. |
|
Fields from javax.servlet.jsp.tagext. |
id, pageContext |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_AGAIN |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Method Summary |
public int |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
|
Methods from com.bea.p13n.usermgmt.taglib. |
|
Methods from com.bea.p13n.usermgmt.taglib. |
|
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.jsp.tagext. |
doAfterBody |
Methods from interface javax.servlet.jsp.tagext. |
doEndTag, doStartTag, getParent, release, setPageContext, setParent |
Constructor Detail |
public CreateGroupTag()
Method Detail |
public int doStartTag()Go through the UserManager session bean to create the new group, and optionally add it to the specified parent group.
throwsJspException
TagSupport.doStartTag()
JspException
public String
getAtnProvider()
Get the name of the authentication provider
public String
getGroupName()
Get the name of the group to create
public String
getParentName()
Get the name of the group to add the new group to
public void release()Reset tag attributes
ResultTag.release()
public void setAtnProvider(String
atnProvider)
Set the name of the authentication provider
public void setGroupName(String
groupName)
Set the name of the group to create
public void setParentName(String
parentName)
Set the name of the group to add the new group to