Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

You can deploy SAML in scenarios where multiple Service Providers process SAML requests forwarded by a reverse-proxy or a load balancer. In order to configure SAML for deployment behind load balancer or reverse-proxy,

...

follow the steps given below

...

:

  1. Go to the ...<ConnectPortalInstallFolder>/resources_config/saml.
  2. Open 

...

  1. saml.properties file in text editor.
  2. Set

...

  1. IP address or domain name of the Load Balancer as a value

...

  1. for the property SAML_SSO_METADATA_GENERATOR_ENTITY_BASE_URL in the following format:

    <protocol_name>://<IP_address

...

  1.  or

...

  1.  domain_name>

...

  1. Where,

    <protocol_name> is the name of the protocol. For example, http or https.

    <ip_

...

  1. address or domain_name> is the IP address or domain name of the

...

  1. load balancer

...

  1. .

    For example, http://www.myserver.com

  2. Set the values

...

  1. for the following reverse-proxy/load balancer properties in the

...

  1. saml.properties file

    Property Name
    Example value
    Description

...

  1. SAML_SSO_CONTEXT_PROVIDER_LB_SCHEMEhttpName of the scheme (http or https).

...

  1. SAML_SSO_CONTEXT_PROVIDER_LB_SERVER_NAMEwww.myserver.comName of the server.

...

  1. SAML_SSO_CONTEXT_PROVIDER_LB_SERVER_PORT8080Port number of the server.

...

  1. SAML_SSO_CONTEXT_PROVIDER_LB_INCLUDE_SERVER_PORT_IN_REQUEST_URLfalseWhether to include server port number in the URL or not. It must be false.

...

  1. SAML_SSO_CONTEXT_PROVIDER_LB_CONTEXT_PATH/adeptiaPrefix of a URL path used to select the context(s) to which an incoming request is passed. A URL is in the format: http://hostname.com/contextPath/, where each of the path elements can be zero or more separated elements. It must be /adeptia.

...

<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean> 

  1. Save the file.

...

borderStylesolid
titleYou may be interested in...
What's new
Best practices
Frequently asked questions
Adeptia Connect APIs

...