Security#
Authentication and authorization patterns featuring Jakarta Security identity stores, form-based and basic authentication, EJB security, role-based access control, and password hashing.
Examples#
- built-in-db-identity-store - Jakarta Security
@DatabaseIdentityStoreDefinitionwith Pbkdf2PasswordHash - custom-identity-store - Custom IdentityStore implementation with
@ApplicationScopedCDI bean - security-cart-secure - EJB security with
@DeclareRolesand@RolesAllowedannotations - security-converter-secure - Servlet-based security with declarative role-based access control
- security-hello1-formauth - Form-based authentication with
@FormAuthenticationMechanismDefinition - security-hello2-basicauth - HTTP Basic authentication with
@BasicAuthenticationMechanismDefinition