com.plumtree.uiinfrastructure.login
Class FailedLoginResult

java.lang.Object
  extended by com.plumtree.uiinfrastructure.login.FailedLoginResult

public class FailedLoginResult
extends java.lang.Object

Author:
DonH This class contains the result of a failed login attempt.

Constructor Summary
FailedLoginResult(Redirect _redirect)
          Creates a new FailedLoginResult object for a failed login that was redirected from a PEI.
FailedLoginResult(java.lang.String _strError)
          Creates a new FailedLoginResult object with a custom error message.
FailedLoginResult(java.lang.String _strError, Redirect _redirect)
          Creates a new FailedLoginResult object for a failed login that was redirected from a PEI.
 
Method Summary
 java.lang.String GetErrorMessage()
          Get the error message for this failed login.
 Redirect GetFailureRedirect()
          Get the redirect for this failed login.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailedLoginResult

public FailedLoginResult(java.lang.String _strError)
Creates a new FailedLoginResult object with a custom error message.

Parameters:
_strError - The custom error message for the end user.

FailedLoginResult

public FailedLoginResult(Redirect _redirect)
Creates a new FailedLoginResult object for a failed login that was redirected from a PEI.

Parameters:
redirect - where to redirect the user to (specified by a login PEI).

FailedLoginResult

public FailedLoginResult(java.lang.String _strError,
                         Redirect _redirect)
Creates a new FailedLoginResult object for a failed login that was redirected from a PEI.

Parameters:
_strError - The custom error message for the end user (maybe ignored).
redirect - where to redirect the user to (specified by a login PEI).
Method Detail

GetErrorMessage

public java.lang.String GetErrorMessage()
Get the error message for this failed login.

Returns:
String the error message for this failed login.

GetFailureRedirect

public Redirect GetFailureRedirect()
Get the redirect for this failed login.

Returns:
Redirect the redirect for this failed login.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.