3 Replies Latest reply on Jul 26, 2011 2:12 PM by marcos_aps

    HTTP Status 408 - The time allowed for the login process has been exceeded

    marcos_aps

      - JBoss AS 7

       

      Hello, everybody!

       

      It seems that I'm doing everything right in my application (it uses FORM authentication), yet I'm getting the following error message when I try to login:

       

      HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser

       

      The server.log file contains these messages:

       

      13:53:03,593 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-8080-4) Security checking request POST /scdh/j_security_check
      13:53:03,593 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] (http--127.0.0.1-8080-4) Authenticating username '90000005'
      13:53:03,593 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) Begin isValid, principal:90000005, cache entry: null
      13:53:03,593 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) defaultLogin, principal=90000005
      13:53:03,593 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] (http--127.0.0.1-8080-4) Begin getAppConfigurationEntry(scdh), size=2
      13:53:03,593 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] (http--127.0.0.1-8080-4) End getAppConfigurationEntry(scdh), authInfo=AppConfigurationEntry[]:
      [0]
      LoginModule Class: br.urca.scdh.web.seguranca.ModuloLogin
      ControlFlag: LoginModuleControlFlag: required
      Options:

      13:53:03,609 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) defaultLogin, lc=javax.security.auth.login.LoginContext@1b0eadd, subject=Subject(7757452).principals=org.jboss.security.SimplePrincipal@20535120(90000005)org.jboss.security.SimpleGroup@26435183(CallerPrincipal(members:90000005))org.jboss.security.SimpleGroup@26435183(Roles(members:ADMINISTRADOR_GERAL,USUARIO))
      13:53:03,609 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) updateCache, inputSubject=Subject(7757452).principals=org.jboss.security.SimplePrincipal@20535120(90000005)org.jboss.security.SimpleGroup@26435183(CallerPrincipal(members:90000005))org.jboss.security.SimpleGroup@26435183(Roles(members:ADMINISTRADOR_GERAL,USUARIO)), cacheSubject=Subject(27504243).principals=org.jboss.security.SimplePrincipal@20535120(90000005)org.jboss.security.SimpleGroup@26435183(CallerPrincipal(members:90000005))org.jboss.security.SimpleGroup@26435183(Roles(members:ADMINISTRADOR_GERAL,USUARIO))
      13:53:03,609 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) Inserted cache info: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@1b0dec3
      13:53:03,609 TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-4) End isValid, true
      13:53:03,609 TRACE [org.jboss.as.web.security.JBossWebRealm] (http--127.0.0.1-8080-4) User: 90000005 is authenticated
      13:53:03,625 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] (http--127.0.0.1-8080-4) Authentication of '90000005' was successful
      13:53:03,625 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/scdh]] (http--127.0.0.1-8080-4) User took so long to log on the session expired
      13:53:03,625 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] (http--127.0.0.1-8080-4)  Failed authenticate() test ??/scdh/j_security_check

       

      I would like to know what could be wrong.

       

      Thank you.

       

      Marcos