[jboss-jira] [JBoss JIRA] (WFLY-8030) Elytron ldap-realm does not handle loops in referrals

Jan Kalina (JIRA) issues at jboss.org
Mon Feb 6 08:02:01 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Kalina moved ELY-922 to WFLY-8030:
--------------------------------------

              Project: WildFly  (was: WildFly Elytron)
                  Key: WFLY-8030  (was: ELY-922)
          Component/s: Security
                           (was: Realms)
    Affects Version/s:     (was: 1.1.0.Beta21)


> Elytron ldap-realm does not handle loops in referrals
> -----------------------------------------------------
>
>                 Key: WFLY-8030
>                 URL: https://issues.jboss.org/browse/WFLY-8030
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Jan Kalina
>            Assignee: Jan Kalina
>            Priority: Critical
>
> According to LDAP specification [1]: "Clients that follow referrals MUST ensure that they do not loop between servers. They MUST NOT repeatedly contact the same server for the same request with the same parameters.".
> When application server is configured to use ldap-realm with dir-context which uses referral-mode=follow or throw and LDAP servers contain loop then it leads to infinite cycle. It can results to java.lang.OutOfMemoryError on EAP server.
> [1] http://tools.ietf.org/html/rfc4511#section-4.1.10



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list