Versions Compared

Key

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

...

PreAuth provider snippet to insert

Code Block
languagexml
<item>
  <factoryId>pre-auth-auth-factory</factoryId>
  <properties>
    <item>
      <key>principalType</key>
      <value>user-principal-name</value>
    </item>
  </properties>
</item>

...


The result should be similar to this:

...

Create a file web-interface/intergator/WEB-INF/properties/intergator.confluence-preauth.properties with the following content:

...

Code Block
intergator.auth.modes.default=PREAUTH
intergator.auth.modes.default.embedded=PREAUTH
intergator.auth.trusted.header=X-PREAUTH-301238


Restrict access to specific hosts

...

  • Replace the IP address in the fixed-string-attribute with the IP of your Confluence server


Code Block
languagexml
titleintergator.xconf
<intergator xml:space="preserve">
	<properties name="ig-properties">
	
	...

		<!-- Allow PREAUTH only from specific host -->
		<match>
			<match fixed-string="192.0.2.0" value="{request:remote-addr}">
				<url expand="static" optional="true" path="/WEB-INF/properties/intergator.confluence-preauth.properties" />
			</match>
		</match>

    ....

...


Restart the INTERGATOR web-interface

...