|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.bea.p13n.usermgmt.taglib.UserManagementTag com.bea.p13n.usermgmt.taglib.ResultTag com.bea.p13n.usermgmt.taglib.CreateGroupTag
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: |
Field Summary |
Fields inherited from class com.bea.p13n.usermgmt.taglib.ResultTag |
result |
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 | |
CreateGroupTag()
|
Method Summary | |
int |
doStartTag()
Go through the UserManager session bean to create the new group, and optionally add it to the specified parent group. |
String |
getAtnProvider()
Get the name of the authentication provider |
String |
getGroupName()
Get the name of the group to create |
String |
getParentName()
Get the name of the group to add the new group to |
void |
release()
Reset tag attributes |
void |
setAtnProvider(String atnProvider)
Set the name of the authentication provider |
void |
setGroupName(String groupName)
Set the name of the group to create |
void |
setParentName(String parentName)
Set the name of the group to add the new group to |
Methods inherited from class com.bea.p13n.usermgmt.taglib.ResultTag |
getResult, setResult |
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 CreateGroupTag()
Method Detail |
public int doStartTag() throws JspException
JspException
public String getAtnProvider()
public String getGroupName()
public String getParentName()
public void release()
release
in interface Tag
release
in class ResultTag
public void setAtnProvider(String atnProvider)
public void setGroupName(String groupName)
public void setParentName(String parentName)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |