O'Reilly logo

Spring Security 3 by Peter Mularien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing a custom AuthenticationProvider

In many scenarios where your application requirements fall outside the bounds of standard Spring Security functionality, you'll need to implement your own AuthenticationProvider. Recollect from Chapter 2 that the role of the AuthenticationProvider, in the overall authentication process, is to accept presented credentials (known as an Authentication object or authentication token) from a principal's request and verify their correctness and validity.

Implementing simple single sign-on with an AuthenticationProvider

Usually, an application will allow for one or more capabilities for users or agents to sign on. However, it's also quite common, especially in widely available applications, to allow for multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required