문제

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