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
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
