Skip to content

Commit

Permalink
Update OAuth2AuthorizationConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwong888 authored Apr 15, 2019
1 parent 8117136 commit 07e54ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.env.Environment;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.crypto.password.NoOpPasswordEncoder;
Expand All @@ -20,6 +21,7 @@
*/
@Configuration
@EnableAuthorizationServer
@Profile("inMemory")
public class OAuth2AuthorizationConfig extends AuthorizationServerConfigurerAdapter {

private TokenStore tokenStore = new InMemoryTokenStore();
Expand Down

0 comments on commit 07e54ef

Please sign in to comment.