Merged V1.3 to HEAD (3180:3203, 3204:3217)

svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3180 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3203 .
   svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3204 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3217 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-07-26 11:00:06 +00:00
parent 6ba0877853
commit 3f8cef33c1
5 changed files with 7 additions and 27 deletions

View File

@@ -146,17 +146,7 @@ public class ContextListener implements ServletContextListener, HttpSessionListe
*/
public void contextDestroyed(ServletContextEvent event)
{
WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
Scheduler quartz = (Scheduler) ctx.getBean("schedulerFactory");
try
{
quartz.shutdown(true);
}
catch (SchedulerException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
// nothing to do
}
/**

View File

@@ -621,10 +621,6 @@ public class AdvancedSearchBean
}
}
}
// make sure the list is sorted by the label
QuickSort sorter = new QuickSort(this.contentTypes, "label", true, IDataContainer.SORT_CASEINSENSITIVE);
sorter.sort();
}
}
@@ -673,10 +669,6 @@ public class AdvancedSearchBean
}
}
}
// make sure the list is sorted by the label
QuickSort sorter = new QuickSort(this.folderTypes, "label", true, IDataContainer.SORT_CASEINSENSITIVE);
sorter.sort();
}
}

View File

@@ -279,12 +279,15 @@ public class LoginBean
// in the session - this is used by the servlet filter etc. on each page to check for login
this.authenticationService.authenticate(this.username, this.password.toCharArray());
// Set the user name as stored by the back end
this.username = this.authenticationService.getCurrentUserName();
// remove the session invalidated flag (used to remove last username cookie by AuthenticationFilter)
session.remove(AuthenticationHelper.SESSION_INVALIDATED);
// setup User object and Home space ID
User user = new User(
this.authenticationService.getCurrentUserName(),
this.username,
this.authenticationService.getCurrentTicket(),
personService.getPerson(this.username));

View File

@@ -462,12 +462,7 @@ public class NewUserWizard extends AbstractWizardBean
else
{
if (this.password.equals(this.confirm))
{
if (!this.personService.getUserNamesAreCaseSensitive())
{
this.userName = this.userName.toLowerCase();
}
{
// create properties for Person type from submitted Form data
Map<QName, Serializable> props = new HashMap<QName, Serializable>(7, 1.0f);
props.put(ContentModel.PROP_USERNAME, this.userName);

View File

@@ -346,7 +346,7 @@ input,textarea,select
.topToolbarTitle
{
background-color:#5D747F;
background-color: #465F7D;
color: #ffffff;
font-weight: bold;
padding-left: 5px;