]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/auth/RemoteAuthRequest.java
9720812e0f2e7ad5e8b3987fff689216bbce0f06
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / auth / RemoteAuthRequest.java
1 package org.argeo.cms.auth;
2
3 import java.util.Locale;
4
5 /** Transitional interface to decouple from the Servlet API. */
6 public interface RemoteAuthRequest {
7 final static String REMOTE_USER = "org.osgi.service.http.authentication.remote.user";
8 final static String AUTHORIZATION = "org.osgi.service.useradmin.authorization";
9
10 RemoteAuthSession getSession();
11
12 @Deprecated
13 RemoteAuthSession createSession();
14
15 Locale getLocale();
16
17 Object getAttribute(String key);
18
19 void setAttribute(String key, Object object);
20
21 String getHeader(String key);
22
23 String getRemoteAddr();
24
25 int getLocalPort();
26
27 int getRemotePort();
28
29 }