com.bea.portal.appflow.processor.security
Class AutoLoginProcessor
java.lang.Object
com.bea.portal.appflow.processor.AbstractPortalProcessor
com.bea.portal.appflow.processor.security.AutoLoginProcessor
- All Implemented Interfaces:
- com.bea.p13n.appflow.webflow.InputProcessor
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 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.
- See Also:
SecurityConstants.COOKIES
,
SecurityConstants.NO_COOKIES
,
SecurityConstants.DEFAULT_COOKIE_TIMEOUT
,
SecurityConstants.PORTAL_USERNAME_COOKIE_NAME
,
SecurityConstants.PORTAL_PASSWORD_COOKIE_NAME
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoLoginProcessor
public AutoLoginProcessor()
- Deprecated.
getCredentialsFromCookie
protected boolean getCredentialsFromCookie(HttpServletRequest request,
Object requestContext)
throws com.bea.p13n.appflow.exception.ProcessingException
- Deprecated.
- Throws:
com.bea.p13n.appflow.exception.ProcessingException
process
public Object process(HttpServletRequest request,
HttpServletResponse response,
PortalRequest portalRequest,
Object requestContext)
throws com.bea.p13n.appflow.exception.ProcessingException
- Deprecated.
- Main process method called by webflow.
- Specified by:
process
in class AbstractPortalProcessor
- Returns:
- "cookies" if the use had username passord cookies, otherwise it returns "no_cookies"
- Throws:
com.bea.p13n.appflow.exception.ProcessingException
Copyright © 2005 BEA Systems, Inc. All Rights Reserved