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

Missing null checks in auth client lead to NPEs later on

XMLWordPrintable

      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

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: