javax.security.auth.login.LoginException: java.lang.IllegalArgumentException: No handler can be found for the key 'javax.servlet.http.HttpServletRequest'

Coderanch | Steve Singer | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JAAS Authentication - Pass User Data to Web Application

    Coderanch | 2 years ago | Steve Singer
    javax.security.auth.login.LoginException: java.lang.IllegalArgumentException: No handler can be found for the key 'javax.servlet.http.HttpServletRequest'

    Root Cause Analysis

    1. javax.security.auth.login.LoginException

      java.lang.IllegalArgumentException: No handler can be found for the key 'javax.servlet.http.HttpServletRequest'

      at javax.security.jacc.PolicyContext.getContext()
    2. JavaEE 7
      PolicyContext.getContext
      1. javax.security.jacc.PolicyContext.getContext(PolicyContext.java:91)
      1 frame