Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1732

NPE calling isUserInRole if no SecurityContext established.

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.2.0.Final
    • None
    • Servlet
    • None

    Description

      The following NPE is encountered with no established SecurityContext:

       

      Caused by: java.lang.NullPointerExceptionCaused by: java.lang.NullPointerException at io.undertow.servlet.spec.HttpServletRequestImpl.isUserInRole(HttpServletRequestImpl.java:321) at org.jboss.resteasy.plugins.server.servlet.ServletSecurityContext.isUserInRole(ServletSecurityContext.java:27) 

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: