public class CallScriptingServlet extends GeneralServlet
log| Constructor and Description |
|---|
CallScriptingServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected nl.b3p.ogc.utils.OGCScriptingRequest |
calcOGCScriptingRequest(javax.servlet.http.HttpServletRequest request)
Creates a OGCScriptingRequest from the incoming request
|
protected User |
checkLogin(javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em,
String pcode)
Checks the login session or credentials
|
String |
getServletInfo()
Returns a short description of the
|
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet.
|
void |
parseRequestAndData(DataWrapper data,
User user)
Parses the incoming request
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the incoming request and calls the various methods to create
the right output stream.
|
calcOGCRequest, checkLogin, checkLogin, checkLoginAlreadyLoggedIn, checkLoginLDAP, checkLoginPersonalCode, checkLoginPreemptiveAuthentication, completeUrl, createBaseUrl, createBaseUrl, decodeBasicAuthorizationString, doGet, doPost, isRemoteAddressWithinIpRange, parsePassword, parseUsername, requestUrldoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class GeneralServletconfig - ServletConfig configjavax.servlet.ServletExceptionprotected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
processRequest in class GeneralServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic void parseRequestAndData(DataWrapper data, User user) throws UnsupportedOperationException, IOException, Exception
parseRequestAndData in class GeneralServletdata - The DataWrapperuser - The authenticated userUnsupportedOperationException - if operation is not supportedIOExceptionExceptionIllegalArgumentExceptionprotected nl.b3p.ogc.utils.OGCScriptingRequest calcOGCScriptingRequest(javax.servlet.http.HttpServletRequest request)
throws UnsupportedEncodingException,
ParserConfigurationException,
SAXException,
IOException,
ValidationException,
Exception
request - The incoming requestUnsupportedEncodingExceptionParserConfigurationExceptionSAXExceptionIOExceptionValidationExceptionExceptionprotected User checkLogin(javax.servlet.http.HttpServletRequest request, javax.persistence.EntityManager em, String pcode) throws AccessDeniedException
request - The incoming requestem - The entityManagerpcode - AccessDeniedException - if the user can not be authenticatedpublic String getServletInfo()
GeneralServletgetServletInfo in interface javax.servlet.ServletgetServletInfo in class GeneralServletCopyright © 2015. All rights reserved.