public interface CookieValueManager
CookieValueManager
is responsible for
managing all cookies and their value structure for CAS. Implementations
may choose to encode and sign the cookie value and optionally perform
additional checks to ensure the integrity of the cookie.Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildCookieValue(java.lang.String givenCookieValue,
javax.servlet.http.HttpServletRequest request)
Build cookie value.
|
java.lang.String |
obtainCookieValue(javax.servlet.http.Cookie cookie,
javax.servlet.http.HttpServletRequest request)
Obtain cookie value.
|
java.lang.String buildCookieValue(java.lang.String givenCookieValue, javax.servlet.http.HttpServletRequest request)
givenCookieValue
- the given cookie valuerequest
- the requestjava.lang.String obtainCookieValue(javax.servlet.http.Cookie cookie, javax.servlet.http.HttpServletRequest request)
cookie
- the cookierequest
- the request