Class CookieRetriever
java.lang.Object
ch.tocco.nice2.web.core.impl.auth.credentials.CookieRetriever
- All Implemented Interfaces:
CredentialsRetriever
Extracts the authentication-string from the cookie with name #PARAM_CLIENT_AUTH. It
contains an UUID that is identifying the session of a user.
-
Constructor Summary
-
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.
-
Constructor Details
-
CookieRetriever
-
-
Method Details
-
getCredentials
@Nullable public @Nullable Credentials getCredentials(jakarta.servlet.http.HttpServletRequest request) throws CredentialsRetrievingException Description copied from interface:CredentialsRetriever
Returns credentials found in the request or null if none was found.- Specified by:
getCredentials
in interfaceCredentialsRetriever
- Throws:
CredentialsRetrievingException
-