Wikipedia (de): Java Authentication and Authorization Service. https://de.wikipedia.org/wiki/Java_Authentication_and_Authorization_Service (abgerufen am 14. Jan. 2020)
barthel (https://github.com/barthel)
Java-API um Dienste zur Authentifizierung und Autorisierung in Java Anwendungen bereitzustellen
Implementiert das Pluggable Authentication Modules (PAM) Konzept [PAM].
Seit Java 1.4 Teil der Platform.
Wikipedia (de): Java Authentication and Authorization Service. https://de.wikipedia.org/wiki/Java_Authentication_and_Authorization_Service (abgerufen am 14. Jan. 2020)
gebündelt in package javax.security.auth
Basisklassen
javax.security.auth.Subject, javax.security.Principal, Credentials
Klassen für Autorisierung
javax.security.auth.SubjectQuelle einer Anfrage
vertritt jedwede Entity (bspw. Mensch, Gerät)
Verwaltet Identitäten (Principal) sowie Anmeldeinformationen (Credential)
Anmeldeinformationen werden in öffentliche und private Informationen unterschieden.
Kann eingefroren (read-only) werden
wird in der Regel automatisch erzeugt
javax.security.PrincipalRepräsentation einer Identität
Implementierung muss java.io.Serializable implementieren
CredentialsAnmeldeinformationen bspw. Rollen oder Rechte
keine eigene Klassenhierarchie
java.lang.Object
Implementierung muss java.io.Serializable implementieren
Implementierung von javax.security.auth.Refreshable für zeitabhängige Anmeldeinformationen
Implementierung von javax.security.auth.Destroyable für sensible Informationen
[PAM] Wikipedia (de): Pluggable Authentication Modules. https://de.wikipedia.org/wiki/Pluggable_Authentication_Modules (abgerufen am 14. Jan. 2020)
[GUIDE] Oracle Corporation: Java Authentication and Authorization Service (JAAS) Reference Guide. https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASRefGuide.html Java 8. (abgerufen am 14. Jan. 2020)
[TUTORIAL] Oracle Corporation: JAAS Authentication Tutorial. https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/tutorials/GeneralAcnOnly.html Java 8. (abgerufen am 14. Jan. 2020)
[DEVGUIDE] Oracle Corporation. Java Authentication and Authorization Service (JAAS): LoginModule Developer’s Guide. https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/JAASLMDevGuide.html Java 8. (abgerufen am 14. Jan. 2020)
[SECURITY] Oracle Corporation. Security. https://docs.oracle.com/javase/8/docs/technotes/guides/security/ Java 8. (abgerufen am 14. Jan. 2020)
[INSIDE] Li Gong, Gary Ellison, Mary Dageforde: Inside Java 2 Platform Security, Second Edition - Architecture, API Design, and Implementation. 2003. Addision-Wesley, Pearson Education. 2003. ISBN 0-201-78791-1