Skip to content

Commit

Permalink
Update pac4j to version 4.5.7
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Apr 21, 2023
1 parent a0ff96e commit e2a727d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ rpmbuild:
install: dist/zm-sso
mkdir -p /opt/zimbra/lib/ext/zm-sso
cp target/*.jar /opt/zimbra/lib/ext/zm-sso
cp target/dependencies/*.jar /opt/zimbra/jetty_base/common/lib
cp target/dependencies/*.jar /opt/zimbra/lib/ext-common
cp conf/zm.sso.properties /opt/zimbra/conf
su - zimbra -c '/opt/zimbra/bin/zmmailboxdctl restart'
30 changes: 15 additions & 15 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,52 +73,52 @@

<target name="check-pac4j-core">
<condition property="available-pac4j-core">
<available file="${deps}/pac4j-core-4.5.4.jar" />
<available file="${deps}/pac4j-core-4.5.7.jar" />
</condition>
</target>
<target name="download-pac4j-core" depends="check-pac4j-core" unless="available-pac4j-core">
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-core/4.5.4/pac4j-core-4.5.4.jar"
dest="${deps}/pac4j-core-4.5.4.jar" usetimestamp="true"/>
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-core/4.5.7/pac4j-core-4.5.7.jar"
dest="${deps}/pac4j-core-4.5.7.jar" usetimestamp="true"/>
</target>

<target name="check-pac4j-cas">
<condition property="available-pac4j-cas">
<available file="${deps}/pac4j-cas-4.5.4.jar" />
<available file="${deps}/pac4j-cas-4.5.7.jar" />
</condition>
</target>
<target name="download-pac4j-cas" depends="check-pac4j-cas" unless="available-pac4j-cas">
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-cas/4.5.4/pac4j-cas-4.5.4.jar"
dest="${deps}/pac4j-cas-4.5.4.jar" usetimestamp="true"/>
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-cas/4.5.7/pac4j-cas-4.5.7.jar"
dest="${deps}/pac4j-cas-4.5.7.jar" usetimestamp="true"/>
</target>

<target name="check-pac4j-oidc">
<condition property="available-pac4j-oidc">
<available file="${deps}/pac4j-oidc-4.5.4.jar" />
<available file="${deps}/pac4j-oidc-4.5.7.jar" />
</condition>
</target>
<target name="download-pac4j-oidc" depends="check-pac4j-oidc" unless="available-pac4j-oidc">
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-oidc/4.5.4/pac4j-oidc-4.5.4.jar"
dest="${deps}/pac4j-oidc-4.5.4.jar" usetimestamp="true"/>
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-oidc/4.5.7/pac4j-oidc-4.5.7.jar"
dest="${deps}/pac4j-oidc-4.5.7.jar" usetimestamp="true"/>
</target>

<target name="check-pac4j-opensamlv3">
<condition property="available-pac4j-opensamlv3">
<available file="${deps}/pac4j-saml-opensamlv3-4.5.4.jar" />
<available file="${deps}/pac4j-saml-opensamlv3-4.5.7.jar" />
</condition>
</target>
<target name="download-pac4j-opensamlv3" depends="check-pac4j-opensamlv3" unless="available-pac4j-opensamlv3">
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-saml-opensamlv3/4.5.4/pac4j-saml-opensamlv3-4.5.4.jar"
dest="${deps}/pac4j-saml-opensamlv3-4.5.4.jar" usetimestamp="true"/>
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-saml-opensamlv3/4.5.7/pac4j-saml-opensamlv3-4.5.7.jar"
dest="${deps}/pac4j-saml-opensamlv3-4.5.7.jar" usetimestamp="true"/>
</target>

<target name="check-pac4j-config">
<condition property="available-pac4j-config">
<available file="${deps}/pac4j-config-4.5.4.jar" />
<available file="${deps}/pac4j-config-4.5.7.jar" />
</condition>
</target>
<target name="download-pac4j-config" depends="check-pac4j-config" unless="available-pac4j-config">
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-config/4.5.4/pac4j-config-4.5.4.jar"
dest="${deps}/pac4j-config-4.5.4.jar" usetimestamp="true"/>
<get src="https://repo1.maven.org/maven2/org/pac4j/pac4j-config/4.5.7/pac4j-config-4.5.7.jar"
dest="${deps}/pac4j-config-4.5.7.jar" usetimestamp="true"/>
</target>

<target name="check-commons-io">
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pac4j.version>4.5.4</pac4j.version>
<pac4j.version>4.5.7</pac4j.version>
<zimbra.version>8.8.15</zimbra.version>
<zimbra.lib.dir>${project.basedir}/lib</zimbra.lib.dir>
</properties>
Expand Down

0 comments on commit e2a727d

Please sign in to comment.