Giter Site home page Giter Site logo

app-demo's People

Watchers

 avatar

app-demo's Issues

login faild : Encoded password does not look like BCrypt

What steps will reproduce the problem?
1. access to URL :http://localhost:8080/sampleAppWeb/login.xhtml
2. login : admin
3. password : admin

What is the expected output? What do you see instead?
login login successful -> Home page
but the result is : User Name and Password Not Match!
=> Encoded password does not look like BCrypt

What version of the product are you using? On what operating system?
Tomcat 7.0.42, JDK 1.7, MySQL Database

Please provide any additional information below.
stack trace tomcat :
DEBUG c.a.d.s.UserDetailsServiceImpl.loadUserByUsername Security verification 
for user 'admin'
Hibernate:
    /* select
        generatedAlias0
    from
        Person as generatedAlias0
    where
        lower(generatedAlias0.username)=:param0 */ select
            person0_.ID as ID0_,
            person0_.BIRTH_DATE as BIRTH2_0_,
            person0_.CIVILITY as CIVILITY0_,
            person0_.EMAIL as EMAIL0_,
            person0_.FIRST_NAME as FIRST5_0_,
            person0_.IS_ENABLED as IS6_0_,
            person0_.LAST_NAME as LAST7_0_,
            person0_.`PASSWORD` as PASSWORD8_0_,
            person0_.PHOTO as PHOTO0_,
            person0_.LOGIN as LOGIN0_,
            person0_.VERSION as VERSION0_
        from
            person person0_
        where
            lower(person0_.LOGIN)=? limit ?
Hibernate:
    /* load collection com.app.demo.domain.Person.securityRoles */ select
        securityro0_.PERSON_ID as PERSON1_0_1_,
        securityro0_.ROLE_ID as ROLE2_1_,
        role1_.ID as ID1_0_,
        role1_.ROLE_DESC as ROLE2_1_0_,
        role1_.ROLE_NAME as ROLE3_1_0_
    from
        person_role securityro0_
    inner join
        `role` role1_
            on securityro0_.ROLE_ID=role1_.ID
    where
        securityro0_.PERSON_ID=?
Login Failed on IllegalArgumentException
Encoded password does not look like BCrypt

Original issue reported on code.google.com by [email protected] on 8 Sep 2013 at 2:15

No project

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Jul 2012 at 12:43

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener AND org.springframework.web.context.request.RequestContextListener

What steps will reproduce the problem?
1. I imported the appdemo in STS (eclipse version from the spring website)
2. I got two project / sampleService and sampleWeb
3. I run sampleWeb in my eclipse with a tomcat 7 server

What is the expected output? What do you see instead?
The web application does not load, i get "HTTP 404 - /sampleAppWeb/"

What version of the product are you using? On what operating system?
sampleWeb / 0.0.1-SNAPSHOT

Please provide any additional information below.
By the way, I'm really newbie with this... And sorry for my bad english.

This his the error I get, and i can see that in the pom dependency hierarchy, 
all the spring library come from the sampleService. But Tomcat his trying to 
find those 2 jar on startup and does not find them anywhere in the webapp. Do 
you have any idear. Did you got this problem. Do you have any library in your 
tomcat that bootstraps uses?

Console output:
janv. 24, 2013 4:32:58 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Erreur lors de la configuration de la classe d'écoute de l'application 
(application listener) org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: 
org.springframework.web.context.ContextLoaderListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4638)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

janv. 24, 2013 4:32:58 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Erreur lors de la configuration de la classe d'écoute de l'application 
(application listener) 
org.springframework.web.context.request.RequestContextListener
java.lang.ClassNotFoundException: 
org.springframework.web.context.request.RequestContextListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4638)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

Original issue reported on code.google.com by [email protected] on 24 Jan 2013 at 9:46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.