]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/auth/RemoteAuthRequest.java
Make tree view more robust
[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 RemoteAuthSession createSession();
13
14 Locale getLocale();
15
16 Object getAttribute(String key);
17
18 void setAttribute(String key, Object object);
19
20 String getHeader(String key);
21
22 String getRemoteAddr();
23
24 int getLocalPort();
25
26 int getRemotePort();
27
28 }