سؤال

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