diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/token/ChainedTokenGranter.java b/openid-connect-server/src/main/java/org/mitre/oauth2/token/ChainedTokenGranter.java index 89a60a16d..670fbc332 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/token/ChainedTokenGranter.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/token/ChainedTokenGranter.java @@ -33,7 +33,6 @@ public class ChainedTokenGranter extends AbstractTokenGranter { // keep down-cast versions so we can get to the right queries private OAuth2TokenEntityService tokenServices; - private ClientDetailsEntityService clientDetailsService; /** * @param tokenServices @@ -43,10 +42,7 @@ public class ChainedTokenGranter extends AbstractTokenGranter { @Autowired public ChainedTokenGranter(OAuth2TokenEntityService tokenServices, ClientDetailsEntityService clientDetailsService) { super(tokenServices, clientDetailsService, grantType); - this.tokenServices = tokenServices; - this.clientDetailsService = clientDetailsService; - } /* (non-Javadoc) diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/token/JwtAssertionTokenGranter.java b/openid-connect-server/src/main/java/org/mitre/oauth2/token/JwtAssertionTokenGranter.java index 493e3c4f6..66396624b 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/token/JwtAssertionTokenGranter.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/token/JwtAssertionTokenGranter.java @@ -39,7 +39,6 @@ public class JwtAssertionTokenGranter extends AbstractTokenGranter { // keep down-cast versions so we can get to the right queries private OAuth2TokenEntityService tokenServices; - private ClientDetailsEntityService clientDetailsService; @Autowired private JwtSigningAndValidationService jwtService; @@ -51,7 +50,6 @@ public class JwtAssertionTokenGranter extends AbstractTokenGranter { public JwtAssertionTokenGranter(OAuth2TokenEntityService tokenServices, ClientDetailsEntityService clientDetailsService) { super(tokenServices, clientDetailsService, grantType); this.tokenServices = tokenServices; - this.clientDetailsService = clientDetailsService; } /* (non-Javadoc)