What is the difference between JAAS and JAAP?

2019-01-20 18:10发布

问题:

What is the difference between JAAS and JAAP ?

JAAS: Java Authentication and Authorization Service

JAAP: ??

回答1:

I know it's an old question, but just to collaborate, we have the definition:

Security services: Java Authentication and Authorization Service (JAAS) enables services to authenticate and enforce access controls upon users. The Java Authorization Service Provider Contract for Containers (JACC) defines a contract between a Java EE application server and an authorization service provider, allowing custom authorization service providers to be plugged into any Java EE product. Java Authentication Service Provider Interface for Containers (JASPIC) defines a standard interface by which authentication modules may be integrated with containers so that these modules may establish the authentication identities used by containers. [Antonio Goncalves, 2013 - pag 4]

With letter soup above, we can confuse the acronym Java Authorization Service Provider Contract for Containers - JACC and confuse the usage and the community associates "service providers to be plugged" and use as JAAP. I believe this may have happened.


Reference:
[Antonio Goncalves, 2013]. Available in Beginning Java EE 7. Access: 4 Apr, 2017.



回答2:

I do not remember exactly, but ignore JAAP is an old name of JAAS

Java Authentication and Authorization ... Pluggable Module



标签: java security