org.apache.sling.jackrabbit.usermanager.post
Class AbstractUserPostServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.sling.api.servlets.SlingSafeMethodsServlet
          extended by org.apache.sling.api.servlets.SlingAllMethodsServlet
              extended by org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
                  extended by org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
ChangeUserPasswordServlet, CreateUserServlet, UpdateUserServlet

public abstract class AbstractUserPostServlet
extends AbstractAuthorizablePostServlet

Base class for servlets manipulating users

See Also:
Serialized Form

Constructor Summary
AbstractUserPostServlet()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
protected  java.lang.String digestPassword(java.lang.String pwd)
          Digest the given password using the configured digest algorithm
 
Methods inherited from class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
collectContent, doPost, externalizePath, getItemPath, getRedirectUrl, handleOperation, hasItemPathPrefix, isSetStatus, processDeletes, requireItemPathPrefix, writeContent
 
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
 
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
 
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
 

Constructor Detail

AbstractUserPostServlet

public AbstractUserPostServlet()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)
Overrides:
activate in class AbstractAuthorizablePostServlet

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)
Overrides:
deactivate in class AbstractAuthorizablePostServlet

digestPassword

protected java.lang.String digestPassword(java.lang.String pwd)
                                   throws java.lang.IllegalArgumentException
Digest the given password using the configured digest algorithm

Parameters:
pwd - the value to digest
Returns:
the digested value
Throws:
java.lang.IllegalArgumentException


Copyright © 2007-2009. All Rights Reserved.