Key Points
- Java supports full security management - stores, certificates, keys in different key stores
References
Reference_description_with_linked_URLs_______________________ | Notes______________________________________________________________ |
---|---|
https://www.pixelstech.net/article/1408345768-Different-types-of-keystore-in-Java----Overview | Java keystore types |
Key Concepts
Java provides a set of tools to manage security
https://docs.oracle.com/javase/9/tools/security-tools-and-commands.htm#JSWOR691
Spring frameworks also add Security features any Java solution can use
Identity Management
Certificate Management
https://docs.oracle.com/javase/9/tools/security-tools-and-commands.htm#JSWOR691
You use specific JDK security tools and commands to set security policies on your local system and create applications that can work within the scope of the security policies set at remote sites.
The following sections describe the security tools and commands used to set security policies and to create applications:
keytool: You use the
keytool
command and options to manage a keystore (database) of cryptographic keys, X.509 certificate chains, and trusted certificates.jarsigner: You use the
jarsigner
tool to sign and verify Java Archive (JAR) files.policytool: You use
policytool
to read and write a plain text policy file based on user input through the utility GUI.Note:
The
policytool
tool has been deprecated in JDK 9 and might be removed in the next major JDK release.
The following sections describe the Kerberos security tools and commands for Windows systems:
kinit: You use the
kinit
tool and its options to obtain and cache Kerberos ticket-granting tickets.klist: You use the
klist
tool to display the entries in the local credentials cache and key table.ktab: You use the
ktab
tool to manage the principal names and service keys stored in a local key table.
Java Keystores
https://www.pixelstech.net/article/1408345768-Different-types-of-keystore-in-Java----Overview
m Java Security Certificate Mgt — can be done with Openssl tools nicely
https://docs.oracle.com/javase/9/tools/keytool.htm#JSWOR-GUID-5990A2E4-78E3-47B7-AE75-6D1826259549
java-keytool-docs.oracle.com-keytool.pdf
Authentication Management
Look at Spring Security
Access Management ( RBAC )
Look at Spring Security
JEE Security Concepts
Spring Security Concepts
Look at Spring Security
Potential Value Opportunities
Potential Challenges
Candidate Solutions
Step-by-step guide for Example
sample code block