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
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable CredentialsgetCredentials(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:CredentialsRetrieverReturns credentials found in the request or null if none was found.- Specified by:
getCredentialsin interfaceCredentialsRetriever- Throws:
CredentialsRetrievingException
-