Creating or configuring custom error page as per the type of error

Hi,
We have SSO configured application where there is a need for us to display specific message when user is not authenticated. Right now all we have is 401/403 apian pages being displayed. Can we customize it or add new pages as per our need?

OriginalPostID-233515

  Discussion posts and replies are publicly visible

Parents
  • Since you're using

    bean id="preAuthFilter" class="org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter">

    and that class doesn't allow for an authentication failure handler docs.spring.io/.../index.html I don't think you can achieve that requirement this easily.

    How about re-adding the Appian Authentication Provider so that the login page is displayed and then adding a link to login.jsp to redirect to the SSO login page? or use the "Terms and Conditions" placeholder to tell the end-users they need to login using a particular URL since they don't have an active session?
Reply
  • Since you're using

    bean id="preAuthFilter" class="org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter">

    and that class doesn't allow for an authentication failure handler docs.spring.io/.../index.html I don't think you can achieve that requirement this easily.

    How about re-adding the Appian Authentication Provider so that the login page is displayed and then adding a link to login.jsp to redirect to the SSO login page? or use the "Terms and Conditions" placeholder to tell the end-users they need to login using a particular URL since they don't have an active session?
Children
No Data