Browse Source

Merge pull request #1259 from sbke/patch-1

Adjustment to generate longer codes
pull/1315/merge
Justin Richer 7 years ago committed by GitHub
parent
commit
ea6960e66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2AuthorizationCodeService.java

2
openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2AuthorizationCodeService.java

@ -57,7 +57,7 @@ public class DefaultOAuth2AuthorizationCodeService implements AuthorizationCodeS
private int authCodeExpirationSeconds = 60 * 5; // expire in 5 minutes by default private int authCodeExpirationSeconds = 60 * 5; // expire in 5 minutes by default
private RandomValueStringGenerator generator = new RandomValueStringGenerator(); private RandomValueStringGenerator generator = new RandomValueStringGenerator(22);
/** /**
* Generate a random authorization code and create an AuthorizationCodeEntity, * Generate a random authorization code and create an AuthorizationCodeEntity,

Loading…
Cancel
Save