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

Method equals for MatchRule throws java.lang.IllegalStateException

XMLWordPrintable

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

      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)
          ...
      

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

                Created:
                Updated:
                Resolved: