Class DefaultUserManager.JSONUserModule

  • All Implemented Interfaces:
    WikiAjaxServlet
    Enclosing class:
    DefaultUserManager

    public static final class DefaultUserManager.JSONUserModule
    extends java.lang.Object
    implements WikiAjaxServlet
    Implements the JSON API for usermanager.

    Even though this gets serialized whenever container shuts down/restarts, this gets reinstalled to the session when JSPWiki starts. This means that it's not actually necessary to save anything.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getServletMapping()  
      UserProfile getUserInfo​(java.lang.String uid)
      Directly returns the UserProfile object attached to an uid.
      void service​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String actionName, java.util.List<java.lang.String> params)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • service

        public void service​(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse resp,
                            java.lang.String actionName,
                            java.util.List<java.lang.String> params)
                     throws javax.servlet.ServletException,
                            java.io.IOException
        Specified by:
        service in interface WikiAjaxServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException