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

Missing null checks in auth client lead to NPEs later on

    Details

      Description

      There are missing null checks in at least the following places:

      • The constructor of org.wildfly.security.auth.principal.NamePrincipal which should require "name" to be non-null
      • The name argument to org.wildfly.security.auth.client.AuthenticationConfiguration#useName

      In addition, the following places handle null wrongly:

      • org.wildfly.security.auth.client.AuthenticationConfiguration#useAuthorizationName should check name for null, and if it is null, pass null in to useAuthorizationPrincipal

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  dmlloyd David Lloyd
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: