Guo Jia
Email: [Email protected]
Blog: http://blog.csdn.net/allenwells
Github:https://github.com/allenwell
JAAS, which is the Java Authentication and authorization service.
- Authentication is the process of judging authenticity and trustworthiness by verifying the identity of a user or device.
- Authorization is the right to grant access to a resource or perform a function based on the permissions granted to the requested identity.
Jaas provides the API mechanisms and services required to support authentication and authorization for Java-based application solutions. Jars is the Java implementation of the Pluggable authentication module (Pluggable authentication module) framework, originally developed for Sun's Solaris operating system. Pam allows the insertion of authentication mechanisms so that applications can be independent of the underlying authentication technology. By using Pam, the Jars authentication module
Blocks allow for integrated authentication techniques such as Kerberos, RSA, smart card, and biometric authentication systems.
The jars-based authentication and authorization architecture is as follows:
In the end-to-end application security model, JAAS provides authentication and authorization mechanisms for Java applications and enables them to be implemented independently of the jars provider. The functionality of the JARS API framework is divided into two main categories:
- Certification: Jars provides a reliable and secure API mechanism for validating and determining the identity of code performers.
- Authorization: Jars the ability to control the execution function based on the identity of the authentication. Jars uses fine-grained, identity-based access control.
"Java Security Technology Exploration Path series: Java Extensible Security Architecture" 14: Jaas (i): Jaas Architecture Introduction