public class ExternalAccessServlet extends BaseServlet
The servlet accepts a well formed URL that can easily be generated from a Content or Space NodeRef. The URL also specifies the JSF "outcome" to be executed which provides the correct JSF View to be displayed. The JSF "outcome" must equate to a global navigation rule or it will not be displayed. Servlet URL is of the form:
http://<server>/alfresco/navigate/<outcome>[/<workspace>/<store>/<nodeId>] or
http://<server>/alfresco/navigate/<outcome>[/webdav/<path/to/node>]
Like most Alfresco servlets, the URL may be followed by a valid 'ticket' argument for authentication: ?ticket=1234567890
And/or also followed by the "?guest=true" argument to force guest access login for the URL.
BaseServlet.PathRefInfo| Modifier and Type | Field and Description |
|---|---|
static String |
OUTCOME_BROWSE
Deprecated.
|
static String |
OUTCOME_DIALOG
Deprecated.
|
static String |
OUTCOME_DOCDETAILS
Deprecated.
|
static String |
OUTCOME_LOGOUT
Deprecated.
|
static String |
OUTCOME_MYALFRESCO
Deprecated.
|
static String |
OUTCOME_SPACEDETAILS
Deprecated.
|
static String |
OUTCOME_WIZARD
Deprecated.
|
FACES_SERVLET, KEY_ROOT_PATH, KEY_STORE| Constructor and Description |
|---|
ExternalAccessServlet()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
generateExternalURL(String outcome,
String args)
Deprecated.
Generate a URL to the External Access Servlet.
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
|
checkAccess, getServiceRegistry, redirectToLoginPage, redirectToLoginPage, resolveNamePath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, resolveWebDAVPath, servletAuthenticate, servletAuthenticate, setNoCacheHeaders, validRedirectJSPdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String OUTCOME_DOCDETAILS
public static final String OUTCOME_SPACEDETAILS
public static final String OUTCOME_BROWSE
public static final String OUTCOME_MYALFRESCO
public static final String OUTCOME_LOGOUT
public static final String OUTCOME_DIALOG
public static final String OUTCOME_WIZARD
protected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionHttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)Copyright © 2005–2018 Alfresco Software. All rights reserved.