Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1208

Elytron dir-context ignores protocol, host and port options from Authentication Configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Blocker
    • None
    • 1.1.0.Beta47
    • None
    • None

    Description

      When Elytron dir-context uses authentication-context and obtains some authentication configuration from it then dir context ignores obtained protocol, host and port options from authentication configuration. Original dir-context.url is used without any change.

      It means some authentication client like following cannot be used with dir context:

      <authentication-client>
          <authentication-configuration name="unsecureConfig" authentication-name="uid=admin,ou=system">
              <credential-reference clear-text="secret"/>
          </authentication-configuration>
          <authentication-configuration name="secureConfig" authentication-name="uid=admin,ou=system" protocol="ldaps" port="10636">
              <credential-reference clear-text="secret"/>
          </authentication-configuration>
          <authentication-context name="authCtx">
              <match-rule match-purpose="secure" authentication-configuration="secureConfig"/>
              <match-rule authentication-configuration="unsecureConfig"/>
          </authentication-context>
      </authentication-client>
      ...
      <dir-contexts>
          <dir-context name="dir-context" url="ldap://127.0.0.1:10389" authentication-context="authCtx"/>
      </dir-contexts>
      

      Attachments

        Issue Links

          Activity

            People

              jkalina@redhat.com Jan Kalina (Inactive)
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: