Skip to content

Java Security

Training Format: Live Online / In-Person Duration: 3 Days Download PDF

Request a Corporate Quote

Home›Courses›Java Security

Description

Java Security Training is a 3-day program covering Java security policies, cryptography, and JAAS.

The course examines Java SE and Java EE security, key and certificate management, authentication, and secure development practices through lab scenarios. You can confirm the JDK and security API scope that will be used.

The course is heavily hands-on, and participants spend most of their time solving security-related problems. Most of the lab work is organized as scenarios that reflect security vulnerabilities in existing software. In this way, participants begin by hacking the systems in some fashion. The lab work then continues by hardening the software to eliminate the threats: creating a security policy, signing files, cleaning up overexposed parts of the API, requiring user login, and more.

 

What will you learn in this course?

  • Design and implement security policies for Java applications, servers, and components
  • Manage certificates and keys for a Java application, and sign code sources when necessary
  • Practice secure design and coding, and balance usability with security in the UI and API
  • Sign and verify application data and messages using the JCA, and encrypt and decrypt this data and these messages using the JCE
  • Add JAAS authentication to an application
  • Use a JAAS LoginModule to connect to application data
  • Secure Java EE applications by URL and role, and add JAAS authentication
  • Avoid very common pitfalls in Java web applications, such as SQL injection and cross-site scripting attacks

Outline

Java SE Security
  • Holistic Security Practices
  • Threats to the User
  • The Class Loader and Bytecode Verifier
  • System Classes and the Core API
  • SecurityManager and AccessController
  • Permissions
  • Implication
  • CodeSources
  • Policies
  • Configuring Java SE Security
  • Dynamic Policies
  • Privileged Actions
Code Signature and Key Management
  • Encryption and Digital Signature
  • Keystores
  • Keys and Certificates
  • Certificate Authorities
  • The KeyStore API
  • Signing JARs
  • Signed CodeSources
  • Additional Policy Semantics
Secure Development Practices: Java SE
  • Code Injection
  • Final Classes and Methods
  • Singletons, Factories, and Flyweights
  • Methods, Collections, and Data Hiding
  • Sealing JARs
  • Code Obfuscation
  • Object Serialization
Cryptography
  • Threats to Identity and Privacy
  • The Java Cryptography Extensions
  • The Signature Class
  • SignedObjects
  • The Java Cryptography Extensions
  • SecretKeys and KeyGenerator
  • The Cipher Class
  • Dangerous Practices
  • HTTP and JSSE
JAAS
  • Pluggable Authentication Logic
  • JAAS
  • Packages and Interfaces
  • Subjects and Principals
  • ANDs and ORs
  • Impersonation Methods
  • Permissions for JAAS Use
  • LoginContext and LoginModule
  • Configuring JAAS
  • CallbackHandler and Callbacks
  • Implementing a JAAS Client
  • Implementing a LoginModule
Java EE Security
  • Java EE Servers as Code Hosts
  • Tomcat Security Configuration
  • Declaring Roles
  • Securing URLs
  • HTTP Authentication Schemes
  • Securing EJBs
  • Programmatic Security
  • JAAS in Java EE
  • Realms and LoginModules
  • JAAS in Tomcat
  • JACC
  • Certifying a Java EE Application
  • HTTPS Configuration
Secure Development Practices: Java EE
  • Presentation-Tier Vulnerabilities
  • User Accounts
  • MVC and Security
  • Validating User Input
  • SQL Injection
  • Cross-Site Scripting
  • Reflected XSS
  • Defeating XSS
  • OWASP
  • Penetration Testing
  • Error Handling and Information Leakage
  • Logging and Auditing

Prerequisites

For prerequisites, you can request information through the Contact Form on this page.

Related Courses

You may also want to explore our Java and Web Application Security Training and Advanced Java Programming Training programs.

Request Information for Corporate Training

To get program and quote information for Java Security Training tailored to your organization, you can fill out the Contact Form on this page.

Frequently Asked Questions

How long is the training?

The training lasts 3 days.

Who can attend?

It is suitable for professionals who want to improve their security design and coding skills in Java applications.

Are there prerequisites for attending?

For prerequisites, you can request information through the Contact Form on this page.

What topics does the training cover?

It covers Java security policies, cryptography, and JAAS.

What is the practical focus of the program?

Java SE and Java EE security, key and certificate management, authentication, and secure development practices are examined through lab scenarios. You can confirm the JDK and security API scope that will be used.

How can our organization get a quote?

You can request program and quote information through the Contact Form on this page. The training is intended for organizations and companies.