Question

i am working on jhipster.jhipster authentication is working fine for me with UserName and Password.but i want to authenticate user only using userName not with combination of username and password please help me.

Thanks

Was it helpful?

Solution

I read in your comments you are using the Facebook login, JHipster uses Spring Security which support OpenID authentication, you should have a look at it. I have a similar application which uses it (it's Spring XML configuration, not JavaConfig, but it should be very close to JHipster as I coded both projects):

applicationContext-security.xml

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top