Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9277

Method equals for MatchRule throws java.lang.IllegalStateException

    XMLWordPrintable

Details

    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: