What is "jaas"
JAAS (Java Authentication and Authorization Service) is an API that allows applications written on the J2EE platform to use authentication and authorization control without requiring them (the services) to be heavily dependent. The main goal of JAAS is to separate user authentication concerns so that they can be managed independently. While the first authentication mechanism contained information about where the code originated and who signed that code, JAAS adds a marker on who executes the code. By extending the JAAS vector scan extends the security architecture to Java applications that require authentication and authorisation modules.
Link to oracle: Link