Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
3
3.8.3.tar.gz
Normal file
3
3.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c92783f373c43c061a7b1aed77de11a1bcd9354bd8ff8aa1302fe2fd205bc1d0
|
||||
size 128628
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc5d9809df1e6cc094e9ccf8e793d7ea5b5388b057eb35640e7f7c59e843b48c
|
||||
size 161373
|
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.auth0</groupId>
|
||||
<artifactId>java-jwt</artifactId>
|
||||
<version>4.4.0</version>
|
||||
<version>3.8.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>java jwt</name>
|
||||
<description>Java implementation of JSON Web Token (JWT)</description>
|
||||
@ -29,7 +29,13 @@
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.14.2</version>
|
||||
<version>2.10.0.pr3</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>1.12</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
@ -1,143 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="java-jwt" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property name="project.groupId" value="com.auth0"/>
|
||||
<property name="project.artifactId" value="java-jwt"/>
|
||||
<property name="project.version" value="4.4.0"/>
|
||||
|
||||
<property name="compiler.release" value="8"/>
|
||||
<property name="compiler.source" value="1.${compiler.release}"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
<property name="build.dir" value="target"/>
|
||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||
<property name="build.srcDir" value="src/main/java"/>
|
||||
<property name="build.jmhDir" value="src/jmh/java"/>
|
||||
<property name="build.resourceDir" value="src/main/resources"/>
|
||||
<property name="build.javadocDir" value="src/main/javadoc"/>
|
||||
|
||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${build.outputDir}"/>
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
release="${compiler.release}"
|
||||
target="${compiler.target}"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="${compiler.source}">
|
||||
<src>
|
||||
<pathelement location="${build.srcDir}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.classpath"/>
|
||||
</classpath>
|
||||
<exclude name="**/module-info.java"/>
|
||||
</javac>
|
||||
<!-- module-info.java built with source/target 9 -->
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
encoding="utf-8"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
release="9"
|
||||
verbose="false"
|
||||
fork="false">
|
||||
<modulepath>
|
||||
<path refid="build.classpath"/>
|
||||
<pathelement location="${build.outputDir}"/>
|
||||
</modulepath>
|
||||
<src>
|
||||
<pathelement location="${build.srcDir}"/>
|
||||
</src>
|
||||
<include name="**/module-info.java"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${build.srcDir}"
|
||||
packagenames="*"
|
||||
destdir="${reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
source="${compiler.source}"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false">
|
||||
<classpath refid="build.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="${project.artifactId}"/>
|
||||
<attribute name="Implementation-Version" value="${project.version}"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
</project>
|
@ -1,43 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 14:48:25 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 4.4.0
|
||||
* Main features of 4.x
|
||||
+ Predicates based claim verification
|
||||
+ Support for Instant API and Lambda functions
|
||||
+ Improved Exceptions API
|
||||
+ Consistent null handling
|
||||
* Breaking changes:
|
||||
+ Make JWT constants final values
|
||||
* Security:
|
||||
+ Bump com.fasterxml.jackson.core:jackson-databind to 2.13.4.2
|
||||
CVE-2022-42003
|
||||
* Additions:
|
||||
+ Add integration with our Shipping orb
|
||||
+ Add Ship CLI support
|
||||
+ Provide straightforward example for JWKS
|
||||
* Changes:
|
||||
+ Update to gradle 6.9.2
|
||||
+ Update OSS plugin to latest
|
||||
+ SDK-3466 Upgrade Codecov
|
||||
+ Update README.md
|
||||
+ Re-enable japicmp API diff checking
|
||||
+ Update .shiprc to only update lib version in build.gradle
|
||||
+ Optimise TokenUtils parsing
|
||||
+ Update Circle Ship Orb configuration
|
||||
+ Improve JWT parse/decode performance
|
||||
+ Add support for passing json values for header and payload
|
||||
+ Preserve insertion order for claims
|
||||
+ Update Jackson to 2.14.2
|
||||
* Fixed
|
||||
+ Check for null token before splitting
|
||||
+ [SDK-3816] Update docs for verification thread-safety
|
||||
+ Update Claim#asString documentation
|
||||
+ Fix for exp claim considered valid if equal to now
|
||||
- Build also module-info.java useful for modular javas
|
||||
- Change the build system to ant. Upstream anyway uses gradle and
|
||||
ant is more flexible then maven for this case
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 26 04:35:00 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package java-jwt
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,27 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
# The automatic requires would be java-headless >= 9, but the
|
||||
# binaries are java 8 compatible
|
||||
%define __requires_exclude java-headless
|
||||
Name: java-jwt
|
||||
Version: 4.4.0
|
||||
Version: 3.8.3
|
||||
Release: 0
|
||||
Summary: Java JWT
|
||||
License: MIT
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/auth0/%{name}
|
||||
Source0: https://github.com/auth0/%{name}/archive/%{version}.tar.gz
|
||||
Source1: %{name}-build.xml
|
||||
Source2: https://repo1.maven.org/maven2/com/auth0/%{name}/%{version}/%{name}-%{version}.pom
|
||||
BuildRequires: ant
|
||||
Source1: https://repo1.maven.org/maven2/com/auth0/%{name}/%{version}/%{name}-%{version}.pom
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jackson-annotations
|
||||
BuildRequires: jackson-core
|
||||
BuildRequires: jackson-databind
|
||||
BuildRequires: java-devel >= 9
|
||||
BuildRequires: javapackages-local >= 6
|
||||
Requires: java-headless >= 1.8
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
||||
BuildRequires: mvn(commons-codec:commons-codec)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -51,31 +44,30 @@ API documentation for the Logback library
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE1} lib/build.xml
|
||||
cp %{SOURCE1} lib/pom.xml
|
||||
|
||||
%pom_xpath_remove pom:dependency/pom:scope lib
|
||||
|
||||
%build
|
||||
mkdir -p lib/lib
|
||||
build-jar-repository -s lib/lib jackson-annotations jackson-core jackson-databind
|
||||
ant -f lib/build.xml jar javadoc
|
||||
pushd lib
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-Dmaven.compiler.source=8 -Dmaven.compiler.target=8 -Dsource=8
|
||||
popd
|
||||
|
||||
%install
|
||||
install -dm 0755 %{buildroot}%{_javadir}
|
||||
install -pm 0644 lib/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}
|
||||
%{mvn_install_pom} %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
|
||||
install -dm 0755 %{buildroot}%{_javadocdir}
|
||||
cp -r lib/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
|
||||
pushd lib
|
||||
%mvn_install
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
popd
|
||||
|
||||
%files -f .mfiles
|
||||
%files -f lib/.mfiles
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%files javadoc -f lib/.mfiles-javadoc
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user