How to handle exceptions Issue in customauthentication entry point, please sugge

Splash Forums Rewrite Users How to handle exceptions Issue in customauthentication entry point, please sugge

This topic contains 1 reply, has 2 voices, and was last updated by  Christian Kaltepoth 11 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27772

    vidya
    Participant

    Hi,

    Can you please suggest a solution to this issue?

    response.sendError(HttpServletResponse.SC_UNAUTHORIZED,
    “Unauthorized: Authentication token was either missing or invalid.”);

    the above line of code is not working , the exception is not getting caught and redirection not happening.

    regards,
    vidya pai

    #27774

    I don’t fully understand your question?. Which exception? Which redirect? You just send a status code to the client with this code.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.