2008-06-02 08:11:56 UTC
Hi, when using strong or basic encryption I get the below stack trace when attempting to login to the web interface. I overcame the issue by changing the encryptorStrenth to basic.
- Exec: BaseFacade.decodeMessage()
- Exec: BaseFacade.login()
- checkPasswordUser Enter(login=admin, password=******, clientIP=127.0.0.1)
- checkPassword Enter (login=admin, password=******)
- getConnection Enter
- getConnection Exit
- checkPassword Unknow error
org.jasypt.exceptions.EncryptionOperationNotPossibleException
at org.jasypt.digest.StandardStringDigester.matches(StandardStringDigester.java:832)
at org.jasypt.util.password.StrongPasswordEncryptor.checkPassword(StrongPasswordEncryptor.java:99)
at org.manentia.kasai.services.RDBMSAuthService.checkPassword(RDBMSAuthService.java:115)
at org.manentia.kasai.User.checkPassword(User.java:108)
at org.manentia.kasai.user.UserHandler.checkPassword(UserHandler.java:67)
at org.manentia.kasai.KasaiFacade.checkPasswordUser(KasaiFacade.java:497)
at org.manentia.kasai.ui.BaseFacade.login(BaseFacade.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:637)
- createAuditEntry Enter
- createAuditEntry Enter (userId=admin, returnCode=7, errorDescription=org.jasypt.exceptions.EncryptionOperationNotPossibleException, duration=14, clientIP=127.0.0.1, operation=org.manentia.kasai.KasaiFacade.checkPasswordUser, objectID=/kasai/user/admin, transactionData=<data>
- createEntry Enter (userId=admin, returnCode=7, errorDescription=org.jasypt.exceptions.EncryptionOperationNotPossibleException, duration=14, clientIP=127.0.0.1, operation=org.manentia.kasai.KasaiFacade.checkPasswordUser, objectID=/kasai/user/admin, transactionData=<data>