Training Capstone Courseware

Training goals dlearning

code: CC-107 | version: v6.0

Version 6.0

This course exposes students to the broad range of challenges and techniques that is "Java security." Secure coding practice for Java incorporates techniques for Java SE and Java EE, and increasingly EE applications are using SE techniques such as policy files and JAAS authentication. This course spends some time on each platform, so that students will be exposed to SE basics such as access controller, permissions, and policies; and also traditional EE techniques such as web-security declarations and the EJB authorization model. Best-practice chapters wrap up coverage of each platform.

The course emphasizes hands-on exercise, and students will spend more than half of their classroom time solving specific security problems. Most labs are organized as scenarios in which a security breach of existing software is possible - students begin by hacking the system in some way. Then the work of the lab is to tighten up the software to eliminate the threat: set a secure policy, sign a file, clean up overexposed parts of an API, require user login, etc.

This version of the course targets Java SE 6 and Java EE 5, but it is largely applicable to Java SE 5 and J2EE 1.4 as well, and groups looking for Java training who know they'll be using those earlier platforms are encouraged to use this course.

Conspect Show list

  1. Chapter 1. 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
  2. Chapter 2. 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
  3. Chapter 3. 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
  4. Chapter 4. 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
  5. Chapter 5. 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
  6. Chapter 6. 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
  7. Chapter 7. 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
Download conspect training as PDF

Additional information

  • Solid Java programming experience is assumed - Course 103 is excellent preparation.
  • Though extensive practical experience with Java EE development is not necessary, some knowledge of Java EE architecture and development is also recommended - consider Course 108 Overview of Java EE Development, which offers a one-day overview of Java EE development, including architecture and working examples.
Difficulty level
Duration 3 days

The participants will obtain certificates signed by Capstone Courseware.


Authorized Capstone Courseware Trainer.

Other training Capstone Courseware | Java Programming

Training thematically related


IT Security


Contact form

Please fill form below to obtain more info about this training.

* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

725 EUR


Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)



Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit site



Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.



No deadlines for this training.

Suggest your own appointment

Upcoming Capstone Courseware training

Training schedule
Capstone Courseware