Continuum

Error logging in with a locked account

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: Web - Security
  • Labels:
    None
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes
  • Number of attachments :
    3

Description

If you attempt to log in with a locked account, you are correctly prevented from logging in.

However, you land on the Project Groups page, but it has no header, just the text "Account Locked" in black. It should send you back to the login page with an error message.

In addition there is a stack trace in the logs/on the console:

INFO | jvm 1 | 2006/12/25 21:45:50 | 2006-12-25 21:45:50,828 [SocketListener0-0] WARN OgnlUtil - Caught OgnlException while setting property 'infoMessage' on type 'com.opensymphony.webwork.dispatcher.ServletActionRedirectResult'.
INFO | jvm 1 | 2006/12/25 21:45:50 | ognl.NoSuchPropertyException: com.opensymphony.webwork.dispatcher.ServletActionRedirectResult.infoMessage
INFO | jvm 1 | 2006/12/25 21:45:50 | at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
...

Activity

Hide
John Michael Luy added a comment -

The page being displayed after trying to login using a locked account is configured in xwork.xml. The result name is "security-login-locked".
For continuum, it is set as:
<result name="security-login-locked" type="redirect-action">
<param name="actionName">groupSummary</param>
<param name="namespace">/</param>
<param name="infoMessage">Account Locked</param>
</result>
which would display the group summary page with the given message.

Show
John Michael Luy added a comment - The page being displayed after trying to login using a locked account is configured in xwork.xml. The result name is "security-login-locked". For continuum, it is set as: <result name="security-login-locked" type="redirect-action"> <param name="actionName">groupSummary</param> <param name="namespace">/</param> <param name="infoMessage">Account Locked</param> </result> which would display the group summary page with the given message.
Hide
Maria Catherine Tan added a comment -

Attempting to log in with a locked account redirects me to another page. See attached image locked-account-redirect-page.png

Show
Maria Catherine Tan added a comment - Attempting to log in with a locked account redirects me to another page. See attached image locked-account-redirect-page.png
Hide
Jevica Arianne B. Zurbano added a comment -

Attached patch.
-modified the redirect action when locked account logs in.

This issue is related to http://jira.codehaus.org/browse/REDBACK-155.

Show
Jevica Arianne B. Zurbano added a comment - Attached patch. -modified the redirect action when locked account logs in. This issue is related to http://jira.codehaus.org/browse/REDBACK-155.
Hide
Maria Catherine Tan added a comment -

Jevica,

Your patch redirects me to the login page but the error message is not showing.

Thanks,
Marica

Show
Maria Catherine Tan added a comment - Jevica, Your patch redirects me to the login page but the error message is not showing. Thanks, Marica
Hide
Jevica Arianne B. Zurbano added a comment -

Miss Maria Catherine,

The patch that I have submitted in http://jira.codehaus.org/browse/REDBACK-155 will help fix this issue.

The error message is displayed in the login page, which is in Redback. However, the redirection is found in Continuum (the patch that I have attached).

Thanks!

Show
Jevica Arianne B. Zurbano added a comment - Miss Maria Catherine, The patch that I have submitted in http://jira.codehaus.org/browse/REDBACK-155 will help fix this issue. The error message is displayed in the login page, which is in Redback. However, the redirection is found in Continuum (the patch that I have attached). Thanks!
Hide
Jevica Arianne B. Zurbano added a comment -

With the patch I have submitted to http://jira.codehaus.org/browse/REDBACK-155, there is no need to modify anything in Continuum's side. The patch submitted in Redback will redirect the user to the login page with the error message.

Show
Jevica Arianne B. Zurbano added a comment - With the patch I have submitted to http://jira.codehaus.org/browse/REDBACK-155, there is no need to modify anything in Continuum's side. The patch submitted in Redback will redirect the user to the login page with the error message.
Hide
Maria Catherine Tan added a comment -

Thanks jevica

Show
Maria Catherine Tan added a comment - Thanks jevica
Hide
Maria Catherine Tan added a comment -

This issue requires redback 1.1

Show
Maria Catherine Tan added a comment - This issue requires redback 1.1
Hide
Emmanuel Venisse added a comment -

no, redback 1.2.

Show
Emmanuel Venisse added a comment - no, redback 1.2.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: