I have an application running on Java Spring 3. My application uses RESTful and Spring Security services for security. It has a user table and validates user credentials. I applied the web service features to my application (one of the client web services instead of RESTful services). If possible, I want to use the same authentication mechanism and want to find this database and allow only one user (now for the administrator) to communicate with my web services server.
Should I follow just like my RESTful authentication, or is there an authentication and security mechanism for Java web services in Spring (for example, how to deal with logging out, how to enable the logging mechanism for web services client-server communication)
PS: I am using Apache-CXF.
source share