Set up Basic Authentication in Spring – the XML Configuration, the Error Messages, and example of consuming the secured URLs with curl.
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
A quick and practical guide to dealing with different causes of Spring BeanCreationException
Spring Logout Example – how to configure the logout url, the logout-succcess-url and how to use a custom bean to handle advanced logout scenarios.
The differences between access=”permitAll”, filters=”none”, security=”none” in Spring Security.
Guide on how to set up Maven to use Spring Repositories – Release Candidates, Milestones and Snapshots – after the Spring infrastructure updates.
The Spring DataIntegrityViolationException – Causes and Solutions for Hibernate and JPA: ConstraintViolationException, PropertyValueException, DataException, EntityExistsException.
Spring @RequestMapping – Basic Example, @RequestParam, @PathVariable, Header mapping
Causes and Solutions for the BeanDefinitionStoreException in Spring – FileNotFoundException, NoSuchMethodError, NoClassDefFoundError and IOException.
Maven Release to Nexus – defining the repository in the pom, using the nexus release plugin, and the Release Process breakdown.
Setup Hibernate 3 with Spring – the Java and XML Configuration, integration with MySQL and usage best practices.
Tweeting StackExchange Questions with Spring Social
A Spring Login Example – How to Set Up a simple Login Form, a Basic Security XML Configuration and some more Advanced Configuration Techniques.
Spring Security with Maven
Maven Deploy to Nexus – The Nexus Snapshot Repository in the pom and how to set up the Deployment Process.
Spring with Maven – focuses on the dependencies for Persistence, Web, Security and Testing.
Install local jar with Maven maven-install-plugin
Spring Social Twitter Setup – tweeting on your own account
Multipart Upload on S3 with jclouds custom S3 API – breaking the Content in Parts, Uploading the Parts individually, marking the Upload as complete via the Amazon API.
Upload on S3 with the jclouds library – the 4 generic Blob APIs.
StackExchange REST Client with with Spring and RestTemplate