In this chapter, we will look at security pattern concepts and how they can help us to implement better security applications. We will also learn about the single-sign-on pattern and how this can help us to provide a secure application. In addition, we will learn about the authentication mechanism and authentication interceptor, focusing on how to implement those concepts. After reading this chapter, we will be able to create a security application and implement it using Java EE 8. The topics covered in this chapter are as follows:
- Explaining the concept of security patterns
- Explaining the concept of the single-sign-on pattern
- Implementing the single-sign-on pattern
- Explaining the authentication mechanism
- Implementing the authentication mechanism
- Explaining the authentication interceptor
- Implementing the authentication interceptor