Skip to main content

Instructor-led training

Spring Framework Security Training in Littleton, Colorado

This in-depth course introduces the Java web developer to the Spring Security framework.

What you'll learn

This in-depth course introduces the Java web developer to the Spring Security framework. We start with an overview and practical exercises in basic usage: XML configuration for authentication and URL-based authorization. Then we start to dig into Spring Security as a Java model, and develop advanced techniques including custom user realms, custom authorization constraints, method-based authorization, and instance-based authorization. We then explore two increasingly popular extensions to Spring Security. We consider the Security Assertions Markup Language, or SAML, and the wide range of identity and security features it offers -- but quickly focus on it's support for single sign-on (SSO), and learn how the Spring Security SAML Extension enables applications to interact with SAML identity providers to implement SSO and single logout. And we look at OAuth for Spring Security, which enables third-party authorization scenarios, and learn how to implement both the server and client sides of the OAuth 2.0 flow.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Littleton, Colorado or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

Java, in particular Servlet, programming experience is essential.

Course Outline

Chapter 1. Secure Web Applications

  • Threats and Attack Vectors
  • Server, Network, and Browser Vulnerabilities
  • Secure Design Principles
  • GET vs. POST
  • Container Authentication and Authorization
  • HTML Forms
  • Privacy Under /WEB-INF
  • HTTP and HTTPS
  • Other Cryptographic Practices
  • SOA and Web Services
  • The OWASP Top 10

Chapter 2. Authentication and Authorization

  • HTTP BASIC and DIGEST Authentication Schemes
  • Declaring Security Constraints
  • User Accounts
  • Safeguarding Credentials in Transit
  • Replay Attacks
  • Authorization Over URL Patterns
  • Roles
  • FORM Authentication
  • Login Form Design
  • EJB Authorization
  • Programmatic Security
  • Programmatic Security in JSF

Chapter 3. Secure Application Design

  • Single Points of Decision
  • Cross-Site Scripting
  • Validation vs. Output Escaping
  • Forceful Browsing
  • Cross-Site Request Forgery
  • Request Tokens
  • Injection Attacks
  • Protections in JDBC and JPA
  • Session Management
  • Taking Care of Cookies
  • Validating User Input
  • Validation Practices
  • Regular Expressions
  • JSF Validation

Chapter 4. HTTPS and Certificates

  • Digital Cryptography
  • Encryption
  • SSL and Secure Key Exchange
  • Hashing
  • Signature
  • Keystores
  • keytool
  • Why Keys Aren't Enough
  • X.509 Certificates
  • Certificate Authorities
  • Obtaining a Signed Certificate
  • Configuring HTTPS
  • Client-Side Certificates and Two-Way SSL
  • PKCS #12 and Trust Stores
  • CLIENT-CERT Authentication

Chapter 5. Application-Level Cryptography

  • The Java Cryptography Architecture
  • Secure Random Number Generation
  • The KeyStore API
  • The Signature Class
  • The SignedObject Class
  • The MessageDigest Class
  • The Java Cryptography Extensions
  • The SecretKey and KeyGenerator Types
  • The Cipher Class
  • Choosing Algorithms and Key Sizes
  • Dangerous Practices

Chapter 6. Secure Development Practices

  • Secure Development Cycle
  • Error Handling and Information Leakage
  • Failing to a Secure Mode
  • Logging Practices
  • Appropriate Content for Logs
  • Auditing
  • Strategies: Filters, Interceptors, and Command Chains
  • Penetration Testing
  • Back Doors

Appendix A. Learning Resources

What makes Java web security hard to master

Security failures rarely come from missing a feature. They come from small mistakes in code that otherwise works. The syllabus moves from attacks to defenses to cryptography to process, and each layer assumes the one before it.

  • Threats first. Chapter 1 covers attack vectors, secure design principles, GET vs. POST, privacy under /WEB-INF, and the OWASP Top 10. These give you a vocabulary for judging the later chapters.
  • Declarative access control. Chapter 2 covers HTTP BASIC, DIGEST and FORM authentication, security constraints, roles, and authorization over URL patterns. It also covers EJB authorization and programmatic security, including in JSF. The hard part is knowing where a declarative rule stops and code has to take over.
  • Application-level flaws. Chapter 3 covers cross-site scripting, CSRF and request tokens, injection and the protections in JDBC and JPA, forceful browsing, session management and cookies. A common misconception is that input validation and output escaping are interchangeable. They solve different problems, and the syllabus treats them separately.
  • Transport and keys. Chapter 4 covers SSL key exchange, hashing, signatures, keystores and keytool, X.509 certificates, certificate authorities, two-way SSL, PKCS #12, trust stores and CLIENT-CERT authentication. It also asks why keys alone are not enough. Confusing encryption, hashing and signing is the usual stumbling block.
  • Cryptography in code. Chapter 5 covers the Java Cryptography Architecture and Extensions: SecureRandom, KeyStore, Signature, SignedObject, MessageDigest, SecretKey, KeyGenerator and Cipher. It also covers choosing algorithms and key sizes and the dangerous practices to avoid.
  • Process. Chapter 6 covers error handling and information leakage, failing to a secure mode, logging and auditing, filters, interceptors and command chains, penetration testing and back doors.

Who it suits and what to take around it

The course is general-level. The stated prerequisite is Java programming experience, in particular Servlet programming. It suits Java web developers, and technical leads who review their code, who need to move from using a framework's security settings to understanding what those settings protect against.

If your applications are built on Spring, the container concepts in Introduction to Spring Framework make it easier to place these security controls inside a real application. The security syllabus itself is built on Servlet, JSF, EJB, JDBC and JPA examples. For a wider view of the Java track, see the Java Programming courses and learning guide.

Organizations that want the material aligned to the Java and framework versions they run can ask about customized private training through a training proposal.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Hardening a form-based web application. A team might review a JSF application against the OWASP Top 10. Chapter 3 topics apply directly: escaping output to stop cross-site scripting, adding request tokens against CSRF, and checking that JDBC and JPA queries are protected against injection.
  • Mutual authentication between internal services. A team might need to restrict a service to known client programs. The Chapter 4 material on keystores, trust stores, PKCS #12, two-way SSL and CLIENT-CERT authentication covers how that is configured and where it tends to go wrong.
  • Protecting sensitive fields in application code. A team might need to encrypt stored values and verify the integrity of exchanged data. The Chapter 5 classes apply: KeyGenerator and Cipher for encryption, MessageDigest for hashing, Signature for signing, and SecureRandom for secure randomness. The same chapter's guidance on algorithms, key sizes and dangerous practices helps in reviewing the result.

AI coding assistants and security code

AI coding assistants can draft boilerplate such as login forms, security constraint declarations, input-validation helpers and regular expressions, and can explain unfamiliar keytool options. Security is also where plausible-looking output does the most damage.

  • Cryptography. Assistants may suggest weak or outdated algorithms, undersized keys, unsafe Cipher modes, hard-coded keys, or a non-secure random source. Check each choice against the Chapter 5 guidance on algorithms, key sizes and dangerous practices.
  • Validation and escaping. Generated code often validates input but skips context-specific output escaping, or builds SQL by string concatenation. Review it against the Chapter 3 injection and XSS material.
  • Regular expressions. A generated pattern may accept input it should reject. Test it with hostile inputs, not just valid ones.
  • Error handling and logging. Generated code may print stack traces to users or log credentials. Compare it with the Chapter 6 topics on information leakage, failing securely, and appropriate log content.

To verify, write tests that attack the code, review it against the OWASP Top 10, and run penetration testing. Treat generated security code as untrusted until a person who understands the threat has reviewed it.

Frequently asked questions

What level is this course, and what do I need beforehand?

It is a general-level, three-day course. Java programming experience is essential, in particular Servlet programming.

What does the syllabus cover?

It has six chapters: secure web applications and the OWASP Top 10; authentication and authorization; secure application design (XSS, CSRF, injection, sessions, validation); HTTPS and certificates; application-level cryptography with the Java Cryptography Architecture and Extensions; and secure development practices including logging, auditing and penetration testing.

Can the course be delivered privately for our team?

Yes. HSG delivers private training for organizations, either onsite at your location or live online.

Can the content be customized?

Private courses can be tailored to the technology versions an organization uses, including current releases, and content can be customized. Use the training proposal request to describe your environment and goals.

HSG Technology & Workforce Intelligence

Most relevant to Spring Framework Security

  • Information security analysts, concentration relative to the U.S. (location quotient): 1.81 (May 2025; U.S. Bureau of Labor Statistics)
  • Community College of Denver Catalog - Computer Science (CSC) courses - The CCD catalog lists CSC 2017 Advanced Python Programming, CSC 2034 C++ Programming (4 credits), and CSC 2040 Java Programming, which introduces the Java language. (catalog.ccd.edu)
  • Software developers, employment: 27,010 (May 2025; U.S. Bureau of Labor Statistics)
  • Software developers, concentration relative to the U.S. (location quotient): 1.55 (May 2025; U.S. Bureau of Labor Statistics)

Selected for this course from the verified data in the section below.

27,010Software developersMay 2025
1.55Concentration vs. U.S.1.00 = U.S. average; May 2025
$137,610Median annual wageU.S. $135,980; May 2025
1,640Computing graduates2023-24 academic year
5Verified local technology sourcesemployers, colleges, user groups

Key findings for Java

  • The official data measures occupations, industries and degrees, not programming languages, so it cannot count Java jobs in the Denver-Aurora-Centennial metro. In our reading, Java's typical uses (enterprise back-end systems, web services, integration middleware) fit a metro with a large software and computer systems design workforce.
  • Local Java evidence is educational and community-based. Community College of Denver, CU Denver and Metropolitan State University of Denver list Java courses in their catalogs, and the Denver Java Users Group has been meeting since November 1995. We found no employer-adoption or job-posting evidence for the area.
  • Software developers in the metro had a median annual wage of $137,610 (May 2025), compared with $135,980 for the United States, and a concentration of 1.55 relative to the U.S.
  • Colleges in the metro awarded 1,640 computing degrees and certificates in the 2023-24 academic year. This is a signal about the talent pipeline, not a promise of hiring outcomes.
  • Skills worth building include Spring Boot, REST services, automated testing and moving long-lived applications to current Java releases.

Workforce: occupations, industries and pay

These figures describe occupations, not Java use. Computer and mathematical occupations employed 86,530 people in the metro in May 2025, a concentration of 1.59 relative to the U.S. Software developers numbered 27,010, with a concentration of 1.55 and a median annual wage of $137,610, against $135,980 for software developers in the United States. Software quality assurance analysts and testers had a concentration of 1.87. That makes testing a visible companion skill for developers in this market.

Talent and education pipeline

Colleges in the metro awarded 1,640 computing degrees and certificates in the 2023-24 academic year, including 650 bachelor's and 670 master's degrees. The institutions awarding the most were the University of Colorado Denver/Anschutz Medical Campus (354), Colorado School of Mines (352) and the University of Denver (346). Graduates are a leading indicator of supply, worth watching rather than a guarantee of hiring. For working developers, the point is that newcomers arrive with solid fundamentals, and experience with frameworks, testing and delivery practices sets people apart.

Economy and technology investment

Computer systems design and related services employed 52,465 private-sector workers in 2024, up 32.5% from 2019 to 2024, with a concentration of 2.08 relative to the U.S. Software publishers had 1,101 establishments in 2024, compared with 463 in 2019. In our reading, this kind of consulting and software activity creates steady need for maintainable back-end code and for people who can modernize existing systems. Federal contract obligations for the metro's counties were $10.5 billion in FY2025, compared with $7.4 billion in FY2021. This is a signal worth watching, not a statement about any language.

How Denver compares

AreaBachelor's or higher (ACS 2020-2024 5-year)Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year)Computer and math jobs, LQ (May 2025)Software developers, LQ (May 2025)Software developers, median wage (May 2025)
Denver-Aurora-Centennial, CO49.4%5.3%1.591.55$137,610
United States35.7%5.1%1.001.00$135,980
Colorado45.7%5.4%1.401.39$138,390
Nashville-Davidson--Murfreesboro--Franklin, TN40.9%4.3%0.920.65$126,610
Las Vegas-Henderson-North Las Vegas, NV27.8%4.6%0.550.23$129,940
Orlando-Kissimmee-Sanford, FL36.7%4.7%0.930.88$129,620
Charlotte-Concord-Gastonia, NC-SC39.9%5.7%1.351.41$135,920
San Antonio-New Braunfels, TX32.3%5.0%0.850.65$128,430

LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.

Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.

Skills and technology fit

This part is HSG's interpretation of the data above for people learning Java. The official sources measure occupations, industries and degrees, not programming languages.

Why Java fits this regional economy. In our reading, the metro's mix of software developers, computer systems design firms and software publishers suits Java's usual territory: back-end services, integration layers and long-lived business applications. Information security analysts (concentration 1.81) and computer network architects (concentration 5.51) also exceed the national level in May 2025. That suggests secure, well-integrated services matter in local work. The data does not show which employers use Java.

Evidence of Java in the area. Three institutions list Java in their catalogs. Community College of Denver offers CSC 2040 Java Programming as an introduction to the language. CU Denver lists CSCI 4501 Java and an advanced course that pairs Java with Python. Metropolitan State University of Denver uses Java in CIS 3145 to build object-oriented business applications. These show that Java is taught locally, not that employers adopt it. On the community side, the Denver Java Users Group is a free, volunteer-run group that has met since November 1995. Its Meetup page listed an event on real-time data architectures with Apache Kafka and RabbitMQ. No job-posting or employer-adoption evidence was found for the area.

Frameworks and skills worth investigating. Technology context points to Spring Boot, Jakarta EE (Servlets, JPA, JAX-RS), Hibernate, Maven or Gradle, and JUnit. Start with the official dev.java learning pages, then add Spring training if your work involves services and integration. Long-lived applications also raise the practical challenges of upgrading across Java versions, tuning performance and securing web applications.

Emerging areas worth watching. The six-month release cadence with regular LTS releases, records, pattern matching and virtual threads are worth following, as are the Spring Boot and Jakarta EE namespace migrations. The Kafka-focused local meetup suggests streaming data is another topic worth investigating alongside the language.

Improving your prospects. Build in layers. Cover fundamentals and collections, then concurrency and database access, then a web framework, with testing throughout. Given the local concentration of testers and security analysts, show that you can write tested, secure code and modernize older applications. The Java learning guide lays out the path.

HSG courses for these skills. Fast Track to Java 25 and OO Development covers the Java release cycle, the JDK and object-oriented basics. Advanced Java Programming adds serialization and java.nio buffers and channels. Developing RESTful Services Using Java teaches JAX-RS, HATEOAS and the Richardson Maturity Model. Express JUnit covers assert methods, test suites and runners. Continuous Integration with Jenkins teaches automated test execution. Administering the WildFly 11/12 and JBoss EAP 7.1 Application Servers covers Java EE architecture, installation and server structure. For a team plan, request a training proposal.

About this data: sources, periods and limitations
  • Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
  • Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
  • Computer and mathematical occupations, information security analysts, computer network architects and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
  • Software developers: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
  • Software publishers: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5132 (NAICS). Employment and wages are withheld by BLS for this area and year to protect employer confidentiality; the establishment count is published.
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS).
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS). Location quotient relative to the U.S.
  • Computing, institutions awarding the most computing degrees: Awards conferred July 1, 2023 to June 30, 2024, first major only, by institution location (not graduates' residence). Primarily online institutions (data.ipeds.onlineInstitutions) count in the national total only.
  • Federal contracts obligations, by place of performance: Federal obligations (commitments), not outlays, by place of performance; a single large award can dominate a small area; amounts are revised as agencies report.
  • Organizations' own pages: An organization's own statement, checked by HSG; it shows that the organization uses, hires for or teaches the technology, not how widely.

Training locations

Spring Framework Security training across the U.S. and beyond.

We provide private Spring Framework Security training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Spring Framework Security training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.