org.apache.sling.jackrabbit.usermanager.post
Class CreateUserServlet
java.lang.Object
   javax.servlet.GenericServlet
javax.servlet.GenericServlet
       org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
           org.apache.sling.api.servlets.SlingAllMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
               org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
                   org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
                       org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
- All Implemented Interfaces: 
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class CreateUserServlet 
- extends AbstractUserPostServlet
Sling Post Servlet implementation for creating a user in the jackrabbit
 UserManager.
- See Also:
- Serialized Form
 
| Method Summary | 
| protected  void | activate(org.osgi.service.component.ComponentContext componentContext)Activates this component.
 | 
| protected  org.apache.sling.jcr.api.SlingRepository | getRepository()Returns the JCR repository used by this service.
 | 
| protected  void | handleOperation(SlingHttpServletRequest request,
                HtmlResponse response,
                java.util.List<Modification> changes)Extending Servlet should implement this operation to do the work
 | 
 
 
 
 
 
| Methods inherited from class javax.servlet.GenericServlet | 
| destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CreateUserServlet
public CreateUserServlet()
getRepository
protected org.apache.sling.jcr.api.SlingRepository getRepository()
- Returns the JCR repository used by this service.
 
- 
 
activate
protected void activate(org.osgi.service.component.ComponentContext componentContext)
- Activates this component.
 
- 
- Overrides:
- activatein class- AbstractUserPostServlet
 
- 
- Parameters:
- componentContext- The OSGi- ComponentContextof this
      component.
 
handleOperation
protected void handleOperation(SlingHttpServletRequest request,
                               HtmlResponse response,
                               java.util.List<Modification> changes)
                        throws javax.jcr.RepositoryException
- Description copied from class: AbstractAuthorizablePostServlet
- Extending Servlet should implement this operation to do the work
 
- 
- Specified by:
- handleOperationin class- AbstractAuthorizablePostServlet
 
- 
- Parameters:
- request- the sling http request to process
- response- the response
- Throws:
- javax.jcr.RepositoryException
 
Copyright © 2007-2009. All Rights Reserved.