Package | Description |
---|---|
org.clazzes.util.http.sec |
Modifier and Type | Method and Description |
---|---|
static Principal |
HttpCheckLoginHelper.checkLogin(HttpLoginService service,
PageTokenService pageTokenService,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Performs the following steps to authenticate an HTTP request:
Check the request for a "X-HTTP-util-page-token" header.
|
static Principal |
HttpCheckLoginHelper.checkLogin(HttpLoginService service,
PageTokenService pageTokenService,
String pageToken,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Performs the following steps to authenticate an HTTP request:
Check the caller-extracted page token using
checkPageToken(HttpServletRequest, String)
Call HttpLoginService.checkLogin(HttpServletRequest) to check
for a user being logged in. |
Copyright © 2018 Clazzes.org. All rights reserved.