Class RestResourceUtils


  • public class RestResourceUtils
    extends java.lang.Object
    Since:
    5.3.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.http.ResponseEntity<java.lang.String> createResponseEntityForAuthnFailure​(org.apereo.cas.authentication.AuthenticationException e, javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext applicationContext)
      Create response entity for authn failure response.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestResourceUtils

        public RestResourceUtils()
    • Method Detail

      • createResponseEntityForAuthnFailure

        public static org.springframework.http.ResponseEntity<java.lang.String> createResponseEntityForAuthnFailure​(org.apereo.cas.authentication.AuthenticationException e,
                                                                                                                    javax.servlet.http.HttpServletRequest request,
                                                                                                                    org.springframework.context.ApplicationContext applicationContext)
        Create response entity for authn failure response.
        Parameters:
        e - the e
        request - the http request
        applicationContext - the application context
        Returns:
        the response entity