public class DefaultCasCookieValueManager extends java.lang.Object implements CookieValueManager
DefaultCasCookieValueManager is responsible creating
the CAS SSO cookie and encrypting and signing its value.| Constructor and Description |
|---|
DefaultCasCookieValueManager(org.apereo.cas.CipherExecutor cipherExecutor)
Instantiates a new Cas cookie value manager.
|
| 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.
|
public DefaultCasCookieValueManager(org.apereo.cas.CipherExecutor cipherExecutor)
cipherExecutor - the cipher executorpublic java.lang.String buildCookieValue(java.lang.String givenCookieValue,
javax.servlet.http.HttpServletRequest request)
CookieValueManagerbuildCookieValue in interface CookieValueManagergivenCookieValue - the given cookie valuerequest - the requestpublic java.lang.String obtainCookieValue(javax.servlet.http.Cookie cookie,
javax.servlet.http.HttpServletRequest request)
CookieValueManagerobtainCookieValue in interface CookieValueManagercookie - the cookierequest - the request