Class Saml2IdpErrorAttributes

java.lang.Object
org.springframework.boot.web.servlet.error.DefaultErrorAttributes
se.swedenconnect.spring.saml.idp.autoconfigure.error.Saml2IdpErrorAttributes
All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorAttributes, Ordered, HandlerExceptionResolver

public class Saml2IdpErrorAttributes extends org.springframework.boot.web.servlet.error.DefaultErrorAttributes
An ErrorAttributes implementation that intercepts UnrecoverableSaml2IdpException and adds the following items to the result of getErrorAttributes(WebRequest, ErrorAttributeOptions):
Author:
Martin Lindström
  • Field Details

  • Constructor Details

    • Saml2IdpErrorAttributes

      public Saml2IdpErrorAttributes()
  • Method Details

    • getErrorAttributes

      public Map<String,Object> getErrorAttributes(WebRequest webRequest, org.springframework.boot.web.error.ErrorAttributeOptions options)
      Specified by:
      getErrorAttributes in interface org.springframework.boot.web.servlet.error.ErrorAttributes
      Overrides:
      getErrorAttributes in class org.springframework.boot.web.servlet.error.DefaultErrorAttributes