org.apache.jetspeed.portlets.security
Class ChangePasswordPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.jetspeed.portlets.security.ChangePasswordPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class ChangePasswordPortlet
extends org.apache.portals.bridges.common.GenericServletPortlet

This portlet allows a logged on user to change its password.

Version:
$Id: ChangePasswordPortlet.java 348264 2005-11-22 22:06:45Z taylor $
Author:
Ate Douma

Field Summary
private  org.apache.jetspeed.audit.AuditActivity audit
           
static String CANCELLED
           
static String CURRENT_PASSWORD
           
static String ERROR_MESSAGES
           
private  org.apache.jetspeed.security.UserManager manager
           
static String NEW_PASSWORD
           
static String NEW_PASSWORD_AGAIN
           
static String PASSWORD_CHANGED
           
static String REQUIRED
           
static String WHY
           
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
ChangePasswordPortlet()
           
 
Method Summary
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
protected  String getIPAddress(javax.portlet.PortletRequest request)
           
 void init(javax.portlet.PortletConfig config)
           
 void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
doCustom, doEdit, doHelp, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

private org.apache.jetspeed.security.UserManager manager

audit

private org.apache.jetspeed.audit.AuditActivity audit

CURRENT_PASSWORD

public static final String CURRENT_PASSWORD
See Also:
Constant Field Values

NEW_PASSWORD

public static final String NEW_PASSWORD
See Also:
Constant Field Values

NEW_PASSWORD_AGAIN

public static final String NEW_PASSWORD_AGAIN
See Also:
Constant Field Values

ERROR_MESSAGES

public static final String ERROR_MESSAGES
See Also:
Constant Field Values

PASSWORD_CHANGED

public static final String PASSWORD_CHANGED
See Also:
Constant Field Values

WHY

public static final String WHY
See Also:
Constant Field Values

REQUIRED

public static final String REQUIRED
See Also:
Constant Field Values

CANCELLED

public static final String CANCELLED
See Also:
Constant Field Values
Constructor Detail

ChangePasswordPortlet

public ChangePasswordPortlet()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   IOException
Overrides:
doView in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException
IOException

processAction

public void processAction(javax.portlet.ActionRequest actionRequest,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException
IOException

getIPAddress

protected String getIPAddress(javax.portlet.PortletRequest request)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.