Skip to content

Commit

Permalink
Merge pull request #515 from okta/ak_bump_springboot_to_3.3.x
Browse files Browse the repository at this point in the history
Bump Spring Boot from 2.7.18 to 3.3.1
  • Loading branch information
arvindkrishnakumar-okta authored Jul 1, 2024
2 parents f6c2d14 + fc26715 commit ad0923a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 22 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ aliases:

jobs:

jdk11:
docker:
- image: cimg/openjdk:11.0.22-node
environment:
JVM_OPTS: -Xmx3200m
resource_class: large
parallelism: 3
steps: *build_steps

jdk17:
docker:
- image: cimg/openjdk:17.0.11-node
Expand Down Expand Up @@ -65,9 +56,6 @@ workflows:
- general-platform-helpers/job-secrets-obtain:
name: cache-secrets
secret-key: "OKTA_CLIENT_ORGURL;OKTA_CLIENT_TOKEN;OKTA_AUTHN_ITS_MFAENROLLGROUPID"
- jdk11:
requires:
- cache-secrets
- jdk17:
requires:
- cache-secrets
Expand Down
5 changes: 5 additions & 0 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This SDK uses semantic versioning and follows Okta's [library version policy](ht
Version 2.0.0 of this SDK introduces a number of breaking changes from previous versions.
In addition to some new classes/interfaces, some existing classes/interfaces are no longer backward compatible due to method renaming and signature changes.

## Migrating from 2.x.x to 3.0.0

Version 3.0.0 of this SDK requires Java 17 as the minimum version.
This version has examples that run on Spring Boot 3.x and this would require a Java 17 minimum version and Java 8 is no longer supported (see [here](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#review-system-requirements)).

### Package `com.okta.authn.sdk.resource`

- Replaced `com.okta.sdk.resource.user.factor.FactorProfile` interface with `com.okta.authn.sdk.resource.FactorProfile` interface.
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Support](https://img.shields.io/badge/support-Developer%20Forum-blue.svg)][devforum]
[![API Reference](https://img.shields.io/badge/docs-reference-lightgrey.svg)][javadocs]
[![Build Status](https://travis-ci.com/okta/okta-auth-java.svg?branch=master)](https://app.travis-ci.com/github/okta/okta-auth-java)

# Okta Java Authentication SDK

Expand All @@ -19,7 +18,7 @@ The Okta Authentication SDK is a convenience wrapper around [Okta's Authenticati

### Prerequisites

* Java 11 or later
* Java 17 or later

## Is This Library Right for Me?

Expand Down Expand Up @@ -50,10 +49,11 @@ You can learn more on the [Okta + Java][lang-landing] page in our documentation.

This library uses semantic versioning and follows Okta's [library version policy](https://developer.okta.com/code/library-versions/).

| Version | Status |
| ------- | ------------------------- |
| 1.x | :warning: Retired |
| 2.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-auth-java/blob/master/MIGRATING.md)) |
| Version | Status |
|---------|----------------------------------------------------------------------------------------------------------------|
| 1.x | :warning: Retired |
| 2.x.x | :heavy_check_mark: Stable (retiring soon) |
| 3.x.x | :heavy_check_mark: Stable ([migration guide](https://github.com/okta/okta-auth-java/blob/master/MIGRATING.md)) |

The latest release can always be found on the [releases page][github-releases].

Expand Down
4 changes: 2 additions & 2 deletions examples/example-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This Sample web application will demonstrate below common flows:

## Prerequisites

- [JDK 8][jdk-8] or later
- [JDK 17][jdk-17] or later
- [Apache Maven][apache-maven] 3.6.x or later

You will also need:
Expand All @@ -32,5 +32,5 @@ Visit http://localhost:8080 in your browser.

If you see an index page, then your app is working!

[jdk-8]: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
[jdk-17]: https://www.oracle.com/java/technologies/downloads/?er=221886#java17
[apache-maven]: https://maven.apache.org/download.cgi
4 changes: 2 additions & 2 deletions examples/example-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<description>Springboot Sample for AuthN SDK</description>

<properties>
<java.version>1.8</java.version>
<springboot.version>2.7.18</springboot.version>
<java.version>17</java.version>
<springboot.version>3.3.1</springboot.version>
<tomcat.embed.version>10.1.25</tomcat.embed.version>
</properties>

Expand Down

0 comments on commit ad0923a

Please sign in to comment.