Class DefaultRestAuthenticationService
- java.lang.Object
-
- org.apereo.cas.rest.authentication.DefaultRestAuthenticationService
-
- All Implemented Interfaces:
RestAuthenticationService
public class DefaultRestAuthenticationService extends java.lang.Object implements RestAuthenticationService
This isDefaultRestAuthenticationService.- Since:
- 6.4.0
-
-
Field Summary
-
Fields inherited from interface org.apereo.cas.rest.authentication.RestAuthenticationService
DEFAULT_BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description DefaultRestAuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Method Detail
-
authenticate
public 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)Description copied from interface:RestAuthenticationServiceAuthenticate.- Specified by:
authenticatein interfaceRestAuthenticationService- Parameters:
requestBody- the request bodyrequest- the requestresponse- the response- Returns:
- the optional
-
-