565
szerkesztés
Módosítások
→CustomRule
=== CustomRule ===
When you need to programatically create new attributes (eg. appending generated identifiers), you can use the CustomRule type.
<CustomRule className="org.test.MyCustomRuleImpl">
<Configuration>
<!-- any xml here -->
</Configuration>
</CustomRule>
CustomRule class must implement the net.geant.edugain.attributes.rules.Rule interface, configuration can be read with the DOM API. Please refer to the Attribute Converter JavaDOC, and see the test package as it containes a sample implementation.
=== Quick guide for using unified EL with rules ===