Will someone be able to shed some light on this issue sooner than later,
because Isuranga is trying to contribute a useful feature to WSO2 IS, which
is discussed in [1].

[1] [IAM] Restful API to Evaluate Permission Tree in IS

Regards,
Johann.

On Thu, Oct 5, 2017 at 7:22 PM, Johann Nallathamby <joh...@wso2.com> wrote:

> *[+Asela, IAM Team]*
>
> On Thu, Oct 5, 2017 at 7:20 PM, Isuranga Perera <isurangamper...@gmail.com
> > wrote:
>
>> Hi All,
>>
>> I'm trying to introduce a new XACML function in IS 5.3. This is the
>> procedure I followed so far.
>>
>>    - Create the new class by extending the *FunctionBase* abstract class.
>>    - Created a jar file and copied it into
>>    *<IS_HOME>/repository/components/lib* directory
>>    - Created "balana-config.xml" file with the following content and
>>    copied it into *<IS_HOME>/repository/conf/security*
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> *<conf defaultPDP="pdp"
>> defaultAttributeFactory="attr" defaultCombiningAlgFactory="comb"
>> defaultFunctionFactory="func"> <pdp name="pdp">     <attributeFinderModule
>> class="org.wso2.balana.finder.impl.CurrentEnvModule"/>
>>  <attributeFinderModule
>> class="org.wso2.balana.finder.impl.SelectorModule"/> </pdp> <attributeFactory
>> name="attr" useStandardDatatypes="true"/> <functionFactory name="func"
>> useStandardFunctions="true">     <condition>         <function
>> class="org.wso2.xacml.permissions.PermissionEvalFunction"/>
>>  </condition> </functionFactory> <combiningAlgFactory name="comb"
>> useStandardAlgorithms="true" /></config>*
>>
>>    - Set property
>>
>>    *PDP.Balana.Config.Enable=true *in
>>    *<IS_HOME>/repository/conf/identity/entitlement.properties*
>>
>> But when I tried to use that functionId in a policy it throws an
>> Exception saying functionId doesn't exist. It seems even my config file is
>> not parsed.
>> Appreciate any help.
>>
>> Best Regards,
>> Isuranga Perera
>>
>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Senior Lead Solutions Engineer
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+94777776950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Senior Lead Solutions Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to