LoginFormProcessor Class
DEPRECATED com.bea.portal is only useful in the compatibility domain. For the new portal framework please
use the classes under the com.bea.netuix package
- public class LoginFormProcessor
extends com.bea.portal.appflow.processor.AbstractPortalProcessor
This processor validates (NOT authenticates) the login html form parameters.
If the username/password don't meet the minimum validation criteria this
processor will throw an InvalidFormDataException
and the user will
be redirected back to the login page with an appropriate message. The minimum
and maximum lengths for a username and password can be set in the web.xml or you
may create your own processor for validating username and passwords and register that
processor in the portal.wf webflow file. This processor also checks to see if the user
has checked the "remember username & password" check box on the login JSP. If it was checked
this processor will return SecurityConstants.DROP_COOKIES
, otherwise it
just return SecurityConstants.LOGIN
Related Topics
SecurityConstants.DROP_COOKIES
SecurityConstants.LOGIN
-
Hierarchy
-
Object
com.bea.portal.appflow.processor.AbstractPortalProcessor
LoginFormProcessor
-
All Implemented Interfaces
-
InputProcessor
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginFormProcessor
public LoginFormProcessor()
process(HttpServletRequest, HttpServletResponse, PortalRequest, Object) Method
public Object
process(HttpServletRequest
request,
HttpServletResponse
response,
PortalRequest
portalRequest,
Object
requestContext)
throws ProcessingException
Main process method called by webflow.
-
Overrides
-
AbstractPortalProcessor.process(HttpServletRequest, HttpServletResponse, PortalRequest, Object)
Returns
- SecurityConstants.DROP_COOKIES if the user selected "remember username & password",
otherwise SecurityConstants.LOGIN
Exceptions
-
ProcessingException