Package ch.tocco.nice2.web.core.spi.auth
Interface CredentialsRetriever
- All Known Implementing Classes:
CookieRetriever
,HttpBasicRetriever
,OpenIdRetriever
,PasswordRetriever
,TwoFactorCredentialsRetriever
,UsernameRequestParameterRetriever
public interface CredentialsRetriever
Retrieves a
Credentials
object from the request.-
Method Summary
Modifier and TypeMethodDescription@Nullable Credentials
getCredentials
(jakarta.servlet.http.HttpServletRequest request) Returns credentials found in the request or null if none was found.
-
Method Details
-
getCredentials
@Nullable @Nullable Credentials getCredentials(jakarta.servlet.http.HttpServletRequest request) throws CredentialsRetrievingException Returns credentials found in the request or null if none was found.- Throws:
CredentialsRetrievingException
-