© 2002 BEA Systems, Inc.


com.bea.portal.appflow.processor.security
Class UserProcessor

java.lang.Object
  |
  +--com.bea.portal.appflow.processor.AbstractPortalProcessor
        |
        +--com.bea.portal.appflow.processor.security.UserProcessor

public class UserProcessor
extends AbstractPortalProcessor

A portal processor that validates the html login form (username, password, confirmpassword) and creates a new user in the Weblogic Realm. If the username or passwords do not validate (don't meet minimum lengths, passwords not equal) then an InvalidFormFieldException is thrown.
If a default portal group (PORTAL_DEFAULT_USER_GROUP) is defined in the web.xml, then the user is assigned to that group. If the user is successfully created SecurityConstants.USER_CREATED is added to the HttpSession attribute list so down stream processors can determine if a new user has been created.


Constructor Summary
UserProcessor()
           
 
Method Summary
 java.lang.Object process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortalRequest portalRequest, java.lang.Object requestContext)
          Process the webflow request.
 
Methods inherited from class com.bea.portal.appflow.processor.AbstractPortalProcessor
getCurrentPortletState, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserProcessor

public UserProcessor()
Method Detail

process

public java.lang.Object process(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                PortalRequest portalRequest,
                                java.lang.Object requestContext)
                         throws ProcessingException,
                                InvalidFormDataException
Process the webflow request.

Overrides:
process in class AbstractPortalProcessor

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved