In authorisation manager most of the methods take resouceID and action as
two parameters. But there is a separate Permission class for that.
boolean isUserAuthorized(String userName, String resourceId, String action)
throws UserStoreException;
we should use the permission object here.
thanks,
Amila.
On Sat, Jul 13, 2013 at 1:27 PM, Amila Suriarachchi <[email protected]> wrote:
> Why we need
>
> /**
> * Get the realm configuration
> *
> * @return
> * @throws UserStoreException
> */
> RealmConfiguration getRealmConfiguration() throws UserStoreException;
>
> method in Realm?
>
> RealmConfiguration suppose to give internal implementation details of
> Realm. Why other components require that?
>
> thanks,
> Amila.
>
>
> On Sat, Jul 13, 2013 at 12:13 PM, Prabath Siriwardena <[email protected]>wrote:
>
>> Also.. following method too not needed..
>>
>> String[] getHybridRoles() throws UserStoreException;
>>
>> Thanks & regards,
>> -Prabath
>>
>>
>> On Sat, Jul 13, 2013 at 12:00 PM, Prabath Siriwardena
>> <[email protected]>wrote:
>>
>>> Why do we need Permission in UsetStoreManager API.Planning to remove
>>> this out.. If any objections please shout...
>>>
>>> void addRole(String roleName, String[] userList, Permission[]
>>> permissions)
>>> throws UserStoreException;
>>>
>>>
>>> Thanks & Regards,
>>> Prabath
>>>
>>> Mobile : +94 71 809 6732
>>>
>>> http://blog.facilelogin.com
>>> http://RampartFAQ.com
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> Mobile : +94 71 809 6732
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.com
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Amila Suriarachchi*
>
> Software Architect
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 71 3082805
>
--
*Amila Suriarachchi*
Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware
phone : +94 71 3082805
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev