[MRM-1168]

submitted by Jevica Arianne Zurbano

o add info message for account locked


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@781339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2009-06-03 11:15:09 +00:00
parent b8578cfac9
commit 03eab14b77
2 changed files with 13 additions and 1 deletions

View File

@ -125,6 +125,8 @@ public class SearchAction
private Map<String, String> searchFields;
private String infoMessage;
public boolean isFromResultsPage()
{
return fromResultsPage;
@ -659,4 +661,14 @@ public class SearchAction
{
this.searchFields = searchFields;
}
public String getInfoMessage()
{
return infoMessage;
}
public void setInfoMessage( String infoMessage )
{
this.infoMessage = infoMessage;
}
}

View File

@ -82,8 +82,8 @@
<result name="security-login-success" type="redirect-action">index</result>
<result name="security-login-cancel" type="redirect-action">index</result>
<result name="security-login-locked" type="redirect-action">
<param name="infoMessage">Account Locked</param>
<param name="actionName">index</param>
<param name="infoMessage">Account Locked</param>
</result>
<result name="security-logout" type="redirect-action">index</result>
<result name="requires-authentication" type="redirect-action">