Spring Security Form Based Authentication – Annotations

Form Based Authentication In my previous tutorial, I have shown Spring Security Form based Authentication – XML Configuration but in this tutorial I will show you annotations based configurations Spring Security with Spring MVC web application to secure pages. I will create spring mvc based web application and I will configure Spring Security to protect a page from outside access. Spring…

REST Webservice Basic Authentication

Table of Contents Introduction HTTP Methods Prerequisites Project Setup Deployment Descriptor REST Resource Test Class Testing Basic Authentication in REST Service Source Code Introduction In this tutorial I am going to show you how you can authenticate the REST webservice using sending credential information in Cookie. The most important concept in REST is resources, which are identified by global IDs…

PHP MySQL Login Logout with Remember Me

This tutorial will show you how to login to an application with remember me functionality. Sometimes you need to remember username and password for few days or years so that next time onward a user can login without entering the username and password into the input fields. The username and password fields get populated automatically from the cookie where the…

Authentication example in JAX-WS webservice

Introduction Authentication example in JAX-WS webservice will show you how to authenticate a user before the user is able to see the response from the SOAP based JAX-WS webservice. You may also like to read JAX-WS webservice example. In this example I will show you basic authentication example because I am going to pass credentials (username/password) into the headers of…