Restyling service authentication with spring security

I developed soothing web services using RestEasy.

Now I want to add some authentication features to the client when the service is called. for example: they must first be logged in.

At first I just want a very simple auth, I hardcode the username and password in the spring context XML file.

Is there any way to implement this? thanks.

+4
source share

All Articles