org.apache.sling.jackrabbit.usermanager.impl.post
Class AbstractUserPostServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
org.apache.sling.jackrabbit.usermanager.impl.post.AbstractAuthorizablePostServlet
org.apache.sling.jackrabbit.usermanager.impl.post.AbstractUserPostServlet
- All Implemented Interfaces:
- 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
Method Summary |
protected void |
activate(org.osgi.service.component.ComponentContext context)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext context)
|
protected String |
digestPassword(String pwd)
Digest the given password using the configured digest algorithm |
protected String |
digestPassword(String pwd,
String digest)
Digest the given password using the given digest algorithm |
Methods inherited from class org.apache.sling.jackrabbit.usermanager.impl.post.AbstractAuthorizablePostServlet |
collectContent, createHtmlResponse, doPost, externalizePath, getItemPath, getRedirectUrl, handleOperation, hasItemPathPrefix, isSetStatus, processDeletes, requireItemPathPrefix, writeContent |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUserPostServlet
public AbstractUserPostServlet()
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 String digestPassword(String pwd)
throws IllegalArgumentException
- Digest the given password using the configured digest algorithm
- Parameters:
pwd
- the value to digest
- Returns:
- the digested value
- Throws:
IllegalArgumentException
digestPassword
protected String digestPassword(String pwd,
String digest)
throws IllegalArgumentException
- Digest the given password using the given digest algorithm
- Parameters:
pwd
- the value to digestdigest
- the digest algorithm to use for digesting
- Returns:
- the digested value
- Throws:
IllegalArgumentException
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.