Methods in org.clazzes.util.http.sec with parameters of type HttpLoginService |
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. |
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. |