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

Method equals for MatchRule throws java.lang.IllegalStateException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.1.0.Beta37
    • 1.1.0.Beta28
    • None
    • None

    Description

      In case when method equals(MatchRule other) is called on org.wildfly.security.auth.client.MatchRule then it finishes with java.lang.IllegalStateException with following stack trace, for calling MatchRule.ALL.equals(MatchRule.ALL);:

      java.lang.IllegalStateException
      	at org.wildfly.security.auth.client.MatchRule$1.getMatchUser(MatchRule.java:102)
      	at org.wildfly.security.auth.client.MatchRule.getMatchUser(MatchRule.java:500)
      	at org.wildfly.security.auth.client.MatchNoUserRule.halfEqual(MatchNoUserRule.java:46)
      	at org.wildfly.security.auth.client.MatchRule.equals(MatchRule.java:157)
          ...
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: