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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top