In this chapter, we discussed the following:
- A brief introduction to the Security 1.0 API. Here, we described the key features of the API, including the IdentityStore mechanism, HttpAuthenticationMechanism, and the SecurityContext interface.
- Different implementations of IdentityStore, including embedded identity stores, database identity stores, and LDAP stores.
- Authentication mechanisms and their different implementations, including basic authentication, form-based authentication, and custom form-based auth mechanisms.
- The implementation of Security API using Kotlin to secure a REST API through simple authentication.
- A brief introduction to JWT and the method for securing a REST API with a JWT-based authentication.