Third-party Solution
Explore how to secure Jakarta EE applications using Apache Shiro for authentication and authorization. Understand how to configure Maven dependencies, web.xml, and shiro.ini. Learn to create servlets that leverage Shiro's security features and test user authentication with Basic authentication.
Overview
In the lesson "Standards Basic Method," we learned how to configure and use the
We always need to do some configuration on the server-side to define the authentication and authorization aspects. We can implement and configure the Security API within the application without making any changes to the runtime. Some runtime-specific configurations are necessary before introducing the Security API specification. That’s why many projects use the Apache Shiro solution.
Apache Shiro
Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. It can be used to secure any application and requires Servlet Specification to be available in the runtime. Many projects still use this ...