Error when authentication fail

Discuss problems installing or using TrackStudio.

Error when authentication fail

Postby teenguyen » Wed Apr 16, 2003 11:54 pm

Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
at gran.jsp.LoginAction_jsp._jspService(LoginAction_jsp.java:135)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:484)

I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)
at gran.jsp.ChangePasswordAction_jsp._jspService(ChangePasswordAction_jsp.java:134)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:484)

Please advise.
Thanks
teenguyen
 
Posts: 26
Joined: Mon Apr 07, 2003 8:30 pm

Re: Error when authentication fail

Postby admin » Thu Apr 17, 2003 12:19 am

teenguyen wrote:Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
...
I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)

Please advise.
Thanks


Yes, there is nothing wrong with it - this is just error message:
Code: Select all
        if (!password1.equals(password2))
            throw new PasswordMismatchException();


OK, it looks too cumbersome error message, we'll remove stack trace from it.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8143
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: Error when authentication fail

Postby teenguyen » Thu Apr 17, 2003 12:30 am

admin wrote:
teenguyen wrote:Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
...
I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)

Please advise.
Thanks


Yes, there is nothing wrong with it - this is just error message:
Code: Select all
        if (!password1.equals(password2))
            throw new PasswordMismatchException();


OK, it looks too cumbersome error message, we'll remove stack trace from it.

Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.
teenguyen
 
Posts: 26
Joined: Mon Apr 07, 2003 8:30 pm

Re: Error when authentication fail

Postby admin » Thu Apr 17, 2003 12:34 am

teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8143
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: Error when authentication fail

Postby teenguyen » Thu Apr 17, 2003 12:53 am

admin wrote:
teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.

Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?
teenguyen
 
Posts: 26
Joined: Mon Apr 07, 2003 8:30 pm

Re: Error when authentication fail

Postby admin » Thu Apr 17, 2003 8:57 am

teenguyen wrote:Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?


Yes.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8143
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: Error when authentication fail

Postby admin » Thu Apr 17, 2003 3:47 pm

teenguyen wrote:
admin wrote:
teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.

Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?


Fixed, please check out SP2 on site.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8143
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 10 guests

cron