Hi,

Yes. For that you have to write a BE bundle with the permissions mentioned
in the component.xml and add it into
{CARBON_HOME}/repository/components/dropins/

Please find a sample BE bundle at

https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt

And it's component.xml is at

https://svn.wso2.org/repos/wso2/trunk/carbon/components/service-mgt/org.wso2.carbon.service.mgt/src/main/resources/META-INF/component.xml


thanks,
dimuthul


On Sun, Jul 31, 2011 at 3:25 AM, Guillaume Devianne <[email protected]>wrote:

> Amila,
>
> I played with permissions and gave permission to "LOGIN" under "Admin
> Permissions"
> That worked for the scenario I have now which is to log in to my webapp but
> have no right on the server admin interface.
>
>
> Now, is there a way to have the webapp as a permission item?
>
> Something like putting a serverRole name in the webapp  deployment file
> (web.xml)
> and in the permission list, there would be :
>
> -All Permissions
> ---Admin Permissions
> ---Super Admin Permissions
> ---Webapp1 Permissions
> ---Webapp2 Permissions
>
>
> Guillaume
>
>
>
> On Fri, Jul 29, 2011 at 11:22 PM, Amila Jayasekara <[email protected]>wrote:
>
>> Hi Guillaume,
>>
>> Did you try giving login permission to GROUPA ?
>> You can do that through the management console. Select "Users and
>> Roles" -> "Roles" -> Select particular group -> Select permissions
>>
>> Thanks
>> AmilaJ
>>
>> On Sat, Jul 30, 2011 at 4:06 AM, Guillaume Devianne <[email protected]>
>> wrote:
>> >
>> > Hi,
>> > My AS 4.1 is setup with an Active Directory through.
>> > In a Webapp, I use the Carbon authentification through :
>> > org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient that calls
>> the
>> > Carbon AuthenticationAdmin service.
>> > Now, if a user want to log in, I must include him in my admin group in
>> the
>> > AS.
>> > How can I tell carbon that users from the GROUPA, defined in Active
>> > Directory and available in AS can log on to my app?
>> > Thanks,
>> > Guillaume
>> >
>> > _______________________________________________
>> > Carbon-dev mailing list
>> > [email protected]
>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>> >
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to