Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configure phixflow-domains.xml

Connection details to the domain servers are configured in the file phixflow-domains.xml. When you first install PhixFlow, you probably created a copy of this file by simply copying the example file phixflow-domains.xml.example (PhixFlow Server Installation).

Create domain reference

To create a reference to a domain, update the section in the example file:

Code Block
languagexml
        <!-- Template of a authentication-provider -->
        <!-- 
        <security:authentication-provider ref="exampleActiveDirectoryAuthProvider" /> 
        -->

For example, if this domain will be referred to as corporate, update this to (removing to remove the surrounding comment):

Code Block
languagexml
        <!-- Template of a authentication-provider -->
        <security:authentication-provider ref="corporate" /> 

Add connection details

Update the section in the example file:

Code Block
languagexml
    <!-- Template of a bean providing domain and url to authentication-provider -->
    <!--
    <bean id="exampleActiveDirectoryAuthProvider" parent="activeDirectoryAuthProvider">
        <constructor-arg index="0" value="narnia.local" />
        <constructor-arg index="1" value="ldap://192.168.150.81" />
    </bean>
    -->

to include connection details to the domain. For example, if the domain is called corporate.local and this is manged by the domain controller at 10.23.109.45, update this to (remembering to remove the surrounding comment):

Code Block
languagexml
    <!-- Template of a bean providing domain and url to authentication-provider -->
    <bean id="corporate" parent="activeDirectoryAuthProvider">
        <constructor-arg index="0" value="corporate.local" />
        <constructor-arg index="1" value="ldap://10.23.109.45" />
    </bean>



Code Block
    <!-- Template of a bean providing domain, multiple servers, connection timeout and separate rootDn -->
    <!--
    <bean id="exampleActiveDirectoryAuthProvider" parent="activeDirectoryAuthProvider">
        <constructor-arg name="domain" value="example.com" />
        <constructor-arg name="url" value="ldap://ad1.example.com ldap://ad2.example.com" />
        <constructor-arg name="rootDn" value="ou=User Accounts,dc=example,dc=com" />
        <property name="timeout" value="5000"/>
    </bean>
    -->




PhixFlow Active Directory Setup

...