cancel
Showing results for 
Search instead for 
Did you mean: 

How To Change Default Session Status

etzapata
Champ in-the-making
Champ in-the-making
Hello everyone!
     I was wondering what file to configure if I change the default session status or the time when Alfresco user is being logged out if user is idle for so many minutes. The default is (I'm not sure but it's too long) about 1 hour. I wanted to make it about 5 minutes. That is, when the user logs in, then the user is idle (no clicks made on web client) for 5 minutes, the system automatically logs out the user. Therefor, the user needs to log in again. How do I do this?
     Another problem I have is the log in. I tried logging in to Alfresco with a wrong password, but the system just keeps on saying "Unable to login - unknown username/password" for sooooo many times. What I wanted is for the system to automatically blocked the user if the log in attempts reaches 3 times. Therefore, the user can no longer log in after 3 attemps thus, contacting the Alfresco Administrator for a reset of password. How do I do this?
     I hope someone can help me with this. :lol:
     Thank you very much and more power to all of you guys! :lol:
EriC
2 REPLIES 2

richard_tsai
Champ in-the-making
Champ in-the-making
For your first problem, you may set session timeout in {tomcat-home}/webapps/alfresco/WEB-INF/web.xml


  <session-config>
     <session-timeout>5</session-timeout>
  </session-config>

   For the second problem, I guess it depends on what authentication services you are using. For instance, if you are using AD to authenticate users, you may setup the rule in AD.

etzapata
Champ in-the-making
Champ in-the-making
Hi Richard,
     Thank you very much for your help. My first problem is now solved. For my second concern, I'm not sure what you mean, but for you to have a clearer view on my problem, I'm using Alfresco v1.4 using the default bundle for jboss. I haven't done anything substantial to the program, just simple and ordinary changes. As for the authentication, I'm still using the default because I didn't change anything regarding authentication.
     Thanks again.

EriC