org.alfresco.web.bean
Class LoginOutcomeBean

java.lang.Object
  extended by org.alfresco.web.bean.LoginOutcomeBean
All Implemented Interfaces:
java.io.Serializable

public class LoginOutcomeBean
extends java.lang.Object
implements java.io.Serializable

A request-scoped bean that is used to propagate the URL to redirect to after successful login. This is now done with request parameters rather than session-scoped beans so that tools such as MS Office, which do not propagate cookies to hyperlinks, can be used to open hyperlinks to protected documents (ALF-206).

See Also:
Serialized Form

Field Summary
static java.lang.String PARAM_REDIRECT_URL
          The name of the request parameter that provides the initial value of the LoginOutcomeBean.redirectURL property.
 
Constructor Summary
LoginOutcomeBean()
           
 
Method Summary
 java.lang.String getRedirectURL()
          Gets the URL to redirect to after successful login.
 void setRedirectURL(java.lang.String redirectURL)
          Sets the URL to redirect to after successful login.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_REDIRECT_URL

public static final java.lang.String PARAM_REDIRECT_URL
The name of the request parameter that provides the initial value of the LoginOutcomeBean.redirectURL property.

See Also:
Constant Field Values
Constructor Detail

LoginOutcomeBean

public LoginOutcomeBean()
Method Detail

getRedirectURL

public java.lang.String getRedirectURL()
Gets the URL to redirect to after successful login.

Returns:
the URL to redirect to after successful login

setRedirectURL

public void setRedirectURL(java.lang.String redirectURL)
Sets the URL to redirect to after successful login.

Parameters:
redirectURL - the URL to redirect to after successful login


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.