Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create User using ant task

4 views
Skip to first unread message

Gayatri

unread,
Nov 30, 2007, 5:11:25 PM11/30/07
to
Does anyone know how to create a user using the wlconfig ant task?
I tried this

<target name="ConfigUser">
<java classname="weblogic.Admin" fork="false"
failonerror="true">
<arg line="-noexit -username ${weblogic.user} -password $
{weblogic.password}
INVOKE -mbean Security:Name=myrealmDefaultAuthenticator -method
createGroup
editor 'A group, representing a principal that implicitly will be
mapped by
WLS to the editor role in the security constraints of the web.xml'"/
>
</java>

<java classname="weblogic.Admin" fork="false"
failonerror="true">
<arg line="-noexit -username ${weblogic.user} -password $
{weblogic.password}
INVOKE -mbean Security:Name=myrealmDefaultAuthenticator -method
addMemberToGroup editor system"/>
</java>
</target>

This did not work. Does any one know the solution

Thanks

George

0 new messages