I hope you are aware that PRServlet is standard(basic) authentication type. Same way PRServletContainerAuth is used for container managed authentication type, do you really want to redirect someone who is authenticated using basic authentication type(PRServlet) to PRServletContainerAuth URL context to re-authenticate(using a different type ?)
In general, we perform redirects in case of timeouts/exceptions to challenge the user during authentication process.
My project is moving from non SSO (PRServlet) to SSO (PRServletContainerAuth) using spnego protocol.This part is completed.
Business does not want to change the Url. Even if PRServlet is used by user , they want this url to redirect to PRServletContainerAuth and authenticate the user using spnego.So this way it will be authenticated only once by PRServletContainerAuth.
Do you think is there a way to perform redirection in web.xml or somewhere else ?