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 RestAuthenticationServiceThis isRestAuthenticationService.- Since:
- 6.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_BEAN_NAMEDefault 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 bodyrequest- the requestresponse- the response- Returns:
- the optional
-
-