Package | Description |
---|---|
org.clazzes.util.http.sec |
Modifier and Type | Method and Description |
---|---|
HttpLoginService |
HttpLoginServiceRegistry.getLoginService(String method) |
Modifier and Type | Method and Description |
---|---|
static Principal |
HttpCheckLoginHelper.checkLogin(HttpLoginService service,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Call
checkLogin(HttpServletRequest) and
write a HTTP unauthorized status (401) with the login URL contained in
the response header "X-HTTP-util-login-url" , if no user is logged in. |
static boolean |
HttpCheckLoginHelper.checkPermission(HttpLoginService service,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Call
checkPermission(HttpServletRequest, String)
on a context URL composed from the request URL without server and protocol. |
static Locale |
HttpCheckLoginHelper.getLoginLocale(HttpLoginService service,
javax.servlet.http.HttpServletRequest req)
Return the login locale of the given request.
|
static TimeZone |
HttpCheckLoginHelper.getLoginTimeZone(HttpLoginService service,
javax.servlet.http.HttpServletRequest req)
Return the login time zone of the given request.
|
void |
HttpLoginServiceRegistry.loginServiceBound(HttpLoginService svc,
Map<String,String> props)
An OSGi
bind-method for a HttpLoginService. |
void |
HttpLoginServiceRegistry.loginServiceUnbound(HttpLoginService svc,
Map<String,String> props)
An OSGi
unbind-method for a HttpLoginService. |
Copyright © 2013 Clazzes.org. All Rights Reserved.