AutoLoginProcessor 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 AutoLoginProcessor
extends com.bea.portal.appflow.processor.AbstractPortalProcessor
This processor attempts to fetch two encoded (BASE64 encoding)
cookies (username,password) from the user's browser. If the cookies
exist they are placed in the PipelineSession
(request
scoped) so the LoginProcessor can automatically log the user
in. This processor does not perform the actual authentication it
only decrypts the cookies and places them in the pipeline session.
Related Topics
SecurityConstants.COOKIES
SecurityConstants.NO_COOKIES
SecurityConstants.DEFAULT_COOKIE_TIMEOUT
SecurityConstants.PORTAL_USERNAME_COOKIE_NAME
SecurityConstants.PORTAL_PASSWORD_COOKIE_NAME
-
Hierarchy
-
Object
com.bea.portal.appflow.processor.AbstractPortalProcessor
AutoLoginProcessor
-
All Implemented Interfaces
-
InputProcessor
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoLoginProcessor
public AutoLoginProcessor()
getCredentialsFromCookie(HttpServletRequest, Object) Method
protected boolean getCredentialsFromCookie(HttpServletRequest
request,
Object
requestContext)
throws ProcessingException
Exceptions
-
ProcessingException
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
- "cookies" if the use had username passord cookies, otherwise it returns "no_cookies"
Exceptions
-
ProcessingException