java - Using Spring security 3 to authenticate against REST a user only with username -
this deal. have single authentication using username of application user, , have work angular, spring , mysql. already, have rest post service receive email (username) , have check if user exist in user table in database, , have response json structure: {"response":{"loggedin":"true"}} or {"response":{"loggedin":"false"}} i found example using http-basic authentication on spring security , works fine, issue approach not works me because approach needs , username , password, need username , check if user on database. my question how can authentication spring security using rest service , single authentication user name field? this spring-context.xml <security:http pattern="/login" security="none"> </security:http> <security:http auto-config="true"> <security:intercept-url pattern="/**" access="role_rest" /> <security:http-basic ...