org.camunda.bpm.cycle.web.service
Class DefaultService

java.lang.Object
  extended by org.camunda.bpm.cycle.web.service.AbstractRestService
      extended by org.camunda.bpm.cycle.web.service.DefaultService

public class DefaultService
extends AbstractRestService

This is the default controller which handles user authentication / authorization. It is invoked via JAAS according to the definitions in the web.xml. Note that it offers both means to treat login requests via application/json and application/html. That is needed in order to treat session timeouts in the client application. Rather than rendering the presented views directly, the task is delegated to a TemplateMessageBodyWriter.

Author:
nico.rehwaldt

Constructor Summary
DefaultService()
           
 
Method Summary
 UserDTO currentUser(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.camunda.bpm.cycle.web.service.AbstractRestService
badRequest, internalServerError, notAllowed, notFound, redirectTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultService

public DefaultService()
Method Detail

currentUser

public UserDTO currentUser(@Context
                           javax.servlet.http.HttpServletRequest request)


Copyright © 2014 camunda services GmbH. All rights reserved.