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

Était-ce utile?

La 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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top