public class InfoService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ANONYMOUS_USER
The anonymous user ID.
|
static String |
DEFAULT_DISPLAY_NAME
The Constant DEFAULT_DISPLAY_NAME.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
| Constructor and Description |
|---|
InfoService()
Instantiates a new info service.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getClientHost(javax.servlet.http.HttpServletRequest request)
Gets the client host.
|
protected String |
getClientIpAddr(javax.servlet.http.HttpServletRequest request)
Gets the client ip addr.
|
javax.ws.rs.core.Response |
getManifest(javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request,
String guid,
String hostName,
String displayName)
Outlook add-in manifest for registration in Microsoft Office365 or Exchange server.
|
javax.ws.rs.core.Response |
getUserInfo()
User information (is authenticated and user name).
|
protected boolean |
isValidName(String hostName)
Checks if is valid name.
|
protected static final org.exoplatform.services.log.Log LOG
public static final String DEFAULT_DISPLAY_NAME
public static final String ANONYMOUS_USER
public javax.ws.rs.core.Response getManifest(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request,
String guid,
String hostName,
String displayName)
public javax.ws.rs.core.Response getUserInfo()
throws Exception
Exception - the exceptionprotected String getClientIpAddr(javax.servlet.http.HttpServletRequest request)
request - the requestprotected String getClientHost(javax.servlet.http.HttpServletRequest request)
request - the requestprotected boolean isValidName(String hostName)
hostName - the host nameCopyright © 2003–2019 eXo Platform SAS. All rights reserved.