Skip to content

Commit

Permalink
Fix missing SHA1PRNG bean definition in WebSecurityConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Oct 28, 2021
1 parent e605644 commit 5579708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ubc/pavlab/rdp/WebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ protected void configure( HttpSecurity http ) throws Exception {

@Bean
public SecureRandom secureRandom() throws NoSuchAlgorithmException {
return SecureRandom.getInstanceStrong();
return SecureRandom.getInstance( "SHA1PRNG" );
}
}

0 comments on commit 5579708

Please sign in to comment.