private static final String ARTIFACT = "artifact";
+ private String infoMessage;
+
public String quickSearch()
throws MalformedURLException, RepositoryIndexException, RepositoryIndexSearchException,
ConfigurationStoreException, ParseException
{
return searchResults;
}
+
+ public String getInfoMessage()
+ {
+ return infoMessage;
+ }
+
+ public void setInfoMessage( String infoMessage )
+ {
+ this.infoMessage = infoMessage;
+ }
}
<!-- The following security-* result names arrive from the plexus-security package -->
<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">index</result>
+ <result name="security-login-locked" type="redirect-action">
+ <param name="infoMessage">Account Locked</param>
+ <param name="actionName">index</param>
+ </result>
<result name="security-logout" type="redirect-action">index</result>
<result name="requires-authentication" type="redirect-action">
<param name="actionName">login</param>