public interface LCUserCookieSign
Modifier and Type | Method and Description |
---|---|
LCUser |
decodeUser(javax.servlet.http.HttpServletRequest request)
decode user from http request.
|
javax.servlet.http.Cookie |
encodeUser(LCUser user)
encode user into cookie.
|
javax.servlet.http.Cookie |
getCookieSign(LCUser user)
get cookie signature.
|
boolean |
validateCookieSign(javax.servlet.http.HttpServletRequest request)
validate cookie signature.
|
LCUser decodeUser(javax.servlet.http.HttpServletRequest request)
request
- http requestjavax.servlet.http.Cookie encodeUser(LCUser user)
user
- user instancejavax.servlet.http.Cookie getCookieSign(LCUser user)
user
- user instanceboolean validateCookieSign(javax.servlet.http.HttpServletRequest request)
request
- http requestCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.