Skip to content

Commit

Permalink
fix: Fixes for 4.5.4 #284
Browse files Browse the repository at this point in the history
Signed-off-by: jgomer2001 <[email protected]>
  • Loading branch information
jgomer2001 committed Jul 17, 2024
1 parent d04143a commit 1be8f5d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
15 changes: 12 additions & 3 deletions plugins/email_2fa_core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,30 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.76</version>
<version>1.78.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>1.78</version>
<version>1.78.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk18on</artifactId>
<version>1.76</version>
<version>1.78.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk18on</artifactId>
<version>1.78.1</version>
<scope>provided</scope>
<!-- strangely casa v4_5_4 has bcutil 1.76. Also, scope=provided should not be used here,
however bcmail lib cannot see the bcutil classes if they are bundled with the plugin.
This means casa war has to be manually updated (in the case of 4_5_4) :( -->
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ public class EmailOTPService {
private long connectionTimeout = 5000;
private KeyStore keyStore;

static {
SecurityProviderUtility.installBCProvider();
}

/**
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ email.settings_button_label= Add
#phone numbers
usr.email_label=OTP sent via e-mail
usr.email_title=Email addresses
usr.email_text=Register trusted e-mail addresses where you can receive one-time passcodes (OTPs) for authenticating the user.
usr.email_text=Register trusted e-mail addresses where you can receive one-time passcodes (OTPs) for authenticating.
usr.email_summary=Currently, you have {0} registered email addresses
usr.email_manage=Manage email addresses
usr.email_add=Add e-mail address
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<ldapsdk.version>6.0.4</ldapsdk.version>
<resteasy.version>4.7.8.Final</resteasy.version>
<tika.version>2.4.1</tika.version>
<bc.version>1.78</bc.version>
<bc.version>1.78.1</bc.version>
<sonar.projectKey>GluuFederation_casa</sonar.projectKey>
<sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
<sonar.organization>gluufederation</sonar.organization>
Expand Down

0 comments on commit 1be8f5d

Please sign in to comment.