Interface RestAuthenticationService

  • All Known Implementing Classes:
    DefaultRestAuthenticationService
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RestAuthenticationService
    Since:
    6.4.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_BEAN_NAME
      Default bean name.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<org.apereo.cas.authentication.AuthenticationResult> authenticate​(org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String> requestBody, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Authenticate.
    • Field Detail

      • DEFAULT_BEAN_NAME

        static final java.lang.String DEFAULT_BEAN_NAME
        Default bean name.
        See Also:
        Constant Field Values
    • Method Detail

      • authenticate

        java.util.Optional<org.apereo.cas.authentication.AuthenticationResult> authenticate​(org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String> requestBody,
                                                                                            javax.servlet.http.HttpServletRequest request,
                                                                                            javax.servlet.http.HttpServletResponse response)
        Authenticate.
        Parameters:
        requestBody - the request body
        request - the request
        response - the response
        Returns:
        the optional