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

Method equals for MatchRule throws java.lang.IllegalStateException

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iweiss Ingo Weiss
                  Reporter:
                  olukas Ondrej Lukas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: