<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I specify additional properties/attributes for an External Security System?</title><link>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system</link><description>&lt;p&gt;If I use Microsoft Active Directory or Novel eDirectory as External Security System is there any possibility to specify an additional environment property / attribute? Examples are &lt;code&gt;java.naming.referral&lt;/code&gt; (which is on Ivy set to &lt;code&gt;follow&lt;/code&gt; per default) or &lt;code&gt;java.naming.ldap.derefAliases&lt;/code&gt; etc.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 14 Nov 2018 09:59:30 -0500</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/3547</link><description>&lt;p&gt;&lt;strong&gt;With 7.2 and later:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just configure it in the ivy.yaml like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SecuritySystems:
  myActiveDirectory:
    Provider: "Microsoft Active Directory"
    Connection:
      Url: &lt;a&gt;ldap://localhost:389&lt;/a&gt;
      Environment:
        # Specifying how referrals encountered by the service provider are to be processed. Possible values are... follow, ignore, throw
        # &lt;a href="https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/index.html"&gt;https://docs.oracle.com/javase/jndi/tutorial/ldap/referral/index.html&lt;/a&gt;
        "java.naming.referral": ignore
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See the &lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-file-ref-ivy-yaml"&gt;ivy.yaml file reference&lt;/a&gt; section in the engine guide.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Wed, 14 Nov 2018 09:59:30 -0500</pubDate><guid>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/3547</guid></item><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/895</link><description>&lt;p&gt;It is also possible to set the properties per API. Just create a Simple helper Project/Process and upload it to the Server with the following Code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// set additional property "java.naming.referral" to "ignore"
ivy.request.getApplication().getSecurityContext()
.getConfigurationProperty("JndiAAA.AddEnv.java.naming.referral").setValue("ignore");

// remove additional property "java.naming.referral"
ivy.request.getApplication().getSecurityContext()
.getConfigurationProperty("JndiAAA.AddEnv.java.naming.referral").setValue(null);
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Tue, 05 Aug 2014 12:15:29 -0400</pubDate><guid>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/895</guid></item><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/894</link><description>&lt;p&gt;&lt;strong&gt;Before 7.2:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes this is possible, but unfortunately not configurable by the Administration UI by now.
The following Steps are needed if you do it by Admin UI and Database Editor:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configure the additional properties by using the Administration UI and add them to the User Properties &lt;img alt="Edit User Properties" src="/upfiles/edit_user-proeprties_for_external_security_system_1.png"&gt;&lt;/li&gt;
&lt;li&gt;Stop the Ivy Server/Engine&lt;/li&gt;
&lt;li&gt;Open a Database Editor and go to table IWA_ApplicationProperty&lt;/li&gt;
&lt;li&gt;Change the &lt;code&gt;PropertyName&lt;/code&gt; from &lt;code&gt;JndiAAA.UsrAttr.yourAdditionAttributeKey&lt;/code&gt; to &lt;code&gt;JndiAAA.AddEnv.yourAdditionAttributeKey&lt;/code&gt; (e.g. &lt;code&gt;JndiAAA.UsrAttr.java.naming.referral&lt;/code&gt; to &lt;code&gt;JndiAAA.AddEnv.java.naming.referral&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Start the Ivy Server/Engine, the additional attributes are now used&lt;/li&gt;
&lt;/ol&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Tue, 05 Aug 2014 12:05:07 -0400</pubDate><guid>https://answers.axonivy.com/questions/893/how-can-i-specify-additional-properties-attributes-for-an-external-security-system/894</guid></item></channel></rss>