Class UsernameRequestParameterRetriever
java.lang.Object
ch.tocco.nice2.web.core.impl.auth.credentials.UsernameRequestParameterRetriever
- All Implemented Interfaces:
CredentialsRetriever
@Component
public class UsernameRequestParameterRetriever
extends Object
implements CredentialsRetriever
Get the username-password credentials from request parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCredentials
(jakarta.servlet.http.HttpServletRequest request) Returns credentials found in the request or null if none was found.
-
Constructor Details
-
UsernameRequestParameterRetriever
public UsernameRequestParameterRetriever()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsRetriever
Returns credentials found in the request or null if none was found.- Specified by:
getCredentials
in interfaceCredentialsRetriever
-