Skip To Content

Configure NetIQ Access Manager

You can configure NetIQ Access Manager 3.2 and later versions as your identity provider (IDP) for SAML logins in Portal for ArcGIS. The configuration process involves two main steps: registering your SAML IDP with Portal for ArcGIS and registering Portal for ArcGIS with the SAML IDP.

Note:

To ensure that your SAML logins are configured securely, review the best practices for SAML security.

Required information

Portal for ArcGIS requires certain attribute information to be received from the IDP when a user signs in using SAML logins. The NameID attribute is mandatory and must be sent by your IDP in the SAML response to make the federation with Portal for ArcGIS work. Since Portal for ArcGIS uses the value of NameID to uniquely identify a named user, it is recommended that you use a constant value that uniquely identifies the user. When a user from the IDP signs in, a new user with the user name NameID will be created by Portal for ArcGIS in its user store. The allowed characters for the value sent by NameID are alphanumeric, _ (underscore), . (dot), and @ (at sign). Any other characters will be escaped to contain underscores in the user name created by Portal for ArcGIS.

Portal for ArcGIS supports the inflow of a user's email address, group memberships, given name, and surname from the SAML identity provider.

Register NetIQ Access Manager as the SAML IDP with Portal for ArcGIS

  1. Verify that you are signed in as an administrator of your organization.
  2. At the top of the site, click Organization and click the Settings tab.
  3. Click Security on the left side of the page.
  4. In the Logins section, click the New SAML login button, and select the One identity provider option. On the Specify properties page, type your organization's name (for example, City of Redlands). When users access the portal website, this text displays as part of the SAML sign-in option (for example, Using your City of Redlands account).
    Note:

    You can only register one SAML IDP, or one federation of IDPs, for your portal.

  5. Choose Automatically or Upon invitation from an administrator to specify how users can join the organization. Selecting the first option allows users to sign in to the organization with their SAML login without any intervention from an administrator. Their account is registered with the organization automatically the first time they sign in. The second option requires the administrator to register the necessary accounts with the organization using a command line utility or sample Python script. Once the accounts have been registered, users can sign in to the organization.
    Tip:

    It's recommended that you designate at least one enterprise account as an administrator of your portal and demote or delete the initial administrator account. It is also recommended that you disable the Create an account button in the portal website so people cannot create their own accounts. For full instructions, see Configure a SAML-compliant identity provider with your portal.

  6. Provide metadata information for the IDP using one of the three options below:
    • URL—Choose this option if the URL of NetIQ Access Manager federation metadata is accessible by Portal for ArcGIS. The URL is usually https://<host>:<port>/nidp/saml2/metadata on the machine where NetIQ Access Manager is running.
      Note:

      If your SAML IDP includes a self-signed certificate, you may encounter an error when attempting to specify the HTTPS URL of the metadata. This error occurs because Portal for ArcGIS cannot verify the identity provider's self-signed certificate. Alternatively, use HTTP in the URL, one of the other options below, or configure your IDP with a trusted certificate.

    • File—Choose this option if the URL is not accessible by ArcGIS Enterprise. Obtain the metadata from the URL above, save it as an XML file, and upload the file.
    • Parameters specified here—Choose this option if the URL or federation metadata file is not accessible. Enter the values manually and supply the requested parameters: the login URL and the certificate, encoded in the BASE 64 format. Contact your NetIQ Access Manager administrator to obtain these.
  7. Configure the advanced settings as applicable:
    • Encrypt Assertion—Enable this option if NetIQ Access Manager will be configured to encrypt SAML assertion responses.
    • Enable signed request—Enable this option to have Portal for ArcGIS sign the SAML authentication request sent to NetIQ Access Manager.
    • Propagate logout to Identity Provider—Enable this option to have Portal for ArcGIS use a Logout URL to sign out the user from Net IQ Access Manager. Enter the URL to use in the Logout URL setting. If the IDP requires the Logout URL to be signed, Enable signed request needs to be turned on.
    • Update profiles on sign in—Enable this option to have ArcGIS Enterprise update users' givenName and email address attributes if they have changed since they last signed in.
    • Enable SAML based group membership—Enable this option to allow organization members to link specified SAML-based enterprise groups to ArcGIS Enterprise groups during the group creation process.
    • Logout URL—The IDP URL to use to sign out the currently signed in user. This value is automatically populated if defined in the IDP's metadata file. You can update this URL as needed.
    • Entity ID—Update this value to use a new entity ID to uniquely identify your portal to NetIQ Access Manager.

    The Encrypt Assertion and Enable signed request settings use the certificate samlcert in the portal keystore. To use a new certificate, delete the samlcert certificate, create a certificate with the same alias (samlcert) following the steps in Import a certificate into the portal, and restart the portal.

  8. Click Save.

Register Portal for ArcGIS as the trusted service provider with NetIQ Access Manager

  1. Configure an attribute set.

    Follow the steps below to create a new attribute set so the attributes can be sent to Portal for ArcGIS as part of the SAML assertion after authenticating the user. If you have an existing attribute set already configured in your NetIQ Access Manager, you can use that set as well.

    1. Sign in to the NetIQ Access Manager administration console. This is usually available at https://<host>:<port>/nps.
    2. Browse to your identity server in the NetIQ admin console and click the Shared Settings tab. Under Attribute Sets, you'll see any attribute sets you've already created. Click New and create a new attribute set. Enter Portal under Set Name and click Next.
    3. Define the attribute mappings and add them to the attribute set you created in the previous step.

    Click the New link and add any new attribute mappings. The screen captures below show adding attribute mapping for givenName, email address, and uid. You can choose any attributes from your authentication source instead of these examples.

    givenName attribute
    email attribute
    uid attribute

    Click Finish in the Create Attribute Set wizard. This creates a new attribute set named Portal.

  2. Follow the steps below to add Portal for ArcGIS as a trusted provider with NetIQ Access Manager.
    1. Sign in to the NetIQ admin console, choose your identity server, and click the Edit link.
      Admin console

      The General tab opens.

    2. Click the SAML 2.0 tab and click New > Service Provider.

      The Service Provider window is where you add Portal for ArcGIS as a trusted service provider with NetIQ Access Manager.

    3. In the Create Trusted Service Provider wizard, click Metadata Text as the Source and paste the metadata of your Portal for ArcGIS organization in the Text box.

      To get the metadata of your ArcGIS Enterprise portal, sign in to your organization as an administrator, click the Settings tab, click Security on the left side of the page. In the Logins section, under SAML login, click the Download service provider metadata button to download the metadata file for your organization.

      Click Next and click Finish to finish adding the trusted service provider.

  3. Follow the steps below to configure Portal for ArcGIS and NetIQ Access Manager federation properties.
    1. On the SAML 2.0 tab, click the service provider link under Service Providers. The Configuration tab opens. Click the Metadata tab and verify that the metadata for your Portal for ArcGIS organization is correct.
    2. Click the Configuration tab to go back to the Trust section of the configuration. Select the Encrypt assertions option if you chose the advanced setting Encrypt Assertion when registering NetIQ Access Manager as the SAML IDP with Portal for ArcGIS.
    3. Click the Attributes tab.

      In this step, you add the attribute mapping from the set you previously created so NetIQ Access Manager can send the attributes to Portal for ArcGIS in the SAML assertion.

      Select the attribute set you defined in step 2.1 above. After you select your attribute set, the attributes you defined in the set appear in the Available box. Move your givenName and email attributes to the Send with authentication box.

    4. Click the Authentication Response tab under the Configuration tab of the service provider and set up the authentication response.

      Click Post from the Binding drop-down menu.

      In the Name Identifier column, check the box next to Unspecified.

      In the Default column, select the radio button next to Unspecified.

      In the Value column, choose Ldap Attribute uid.

      Note:

      You can configure any other unique attribute in the attribute set from your authentication source to be sent as NameID. The value of this parameter will be used as the user name in the organization.

      Click Apply.

    5. Under Configuration, click the Options tab and choose your user authentication contract, for example, Name/Password - Form, and click Apply.
  4. Restart NetIQ Access Manager by browsing to your identity server and clicking the Update All link.

    Restart NetIQ