override from #465 no longer needed
parent
ca5288e182
commit
df511a81cc
|
@ -90,12 +90,6 @@ public class ConnectOAuth2RequestFactory extends DefaultOAuth2RequestFactory {
|
|||
this.clientDetailsService = clientDetailsService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OAuth2Request createOAuth2Request(AuthorizationRequest request) {
|
||||
return new OAuth2Request(request.getRequestParameters(), request.getClientId(), request.getAuthorities(),
|
||||
request.isApproved(), request.getScope(), request.getResourceIds(), request.getRedirectUri(), request.getResponseTypes(), request.getExtensions());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorizationRequest createAuthorizationRequest(Map<String, String> inputParams) {
|
||||
|
||||
|
@ -150,7 +144,7 @@ public class ConnectOAuth2RequestFactory extends DefaultOAuth2RequestFactory {
|
|||
try {
|
||||
JWT jwt = JWTParser.parse(jwtString);
|
||||
|
||||
// TODO: check parameter consistency, move keys to constants
|
||||
// TODO: move keys to constants
|
||||
|
||||
if (jwt instanceof SignedJWT) {
|
||||
// it's a signed JWT, check the signature
|
||||
|
|
Loading…
Reference in New Issue