Skip to content

Commit

Permalink
Merge pull request #88 from seryckd-jda/bugfix/fix#83-nullconfigurati…
Browse files Browse the repository at this point in the history
…onprovider

Fixes #83 Null pointer when using NullConfigurationProvider
  • Loading branch information
aramrami committed May 13, 2019
2 parents 9fce593 + 4cf285a commit 9e3f603
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -81,7 +81,11 @@ public boolean isTokenPerPagePrecreateEnabled() {

@Override
public SecureRandom getPrng() {
return null;
try {
return SecureRandom.getInstance("SHA1PRNG", "SUN");
} catch (Exception e) {
throw new RuntimeException(e);
}
}

@Override
Expand Down

0 comments on commit 9e3f603

Please sign in to comment.