Class JwtCookie<V>
java.lang.Object
ch.tocco.nice2.web.core.api.servlet.AbstractNiceCookie
ch.tocco.nice2.web.core.api.servlet.JwtCookie<V>
- Direct Known Subclasses:
InformationCookie,RolesCookie
allows cookies to use JWT to sign their content
-
Field Summary
FieldsFields inherited from class ch.tocco.nice2.web.core.api.servlet.AbstractNiceCookie
addedToResponse, content, expires, sameSiteMode, secure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgenerateJwt(V content) getSpecificTokens(jakarta.servlet.http.HttpServletRequest request) protected abstract voidsetClaims(V content, BiConsumer<String, Object> claimConsumer) Methods inherited from class ch.tocco.nice2.web.core.api.servlet.AbstractNiceCookie
addToResponse, getName, setExpires, verifyConfiguration
-
Field Details
-
SECURE
-
-
Constructor Details
-
JwtCookie
-
-
Method Details
-
getSpecificTokens
- Specified by:
getSpecificTokensin classAbstractNiceCookie
-
generateJwt
-
setClaims
-