2016-04-26 8 views
0

私はspring-bootを使ってプロジェクトを標準化したいと思っていますが、春のoauthを使うための初心者のpomは見つからないのです。 Spring oauthが廃止されましたか?spring-oauth2のスターター・ポンがないのはなぜですか?

+0

http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-security-oauth2 –

+0

は、セットアップのマニュアルを混乱させる他の依存関係については、いくつかの例を示します。 – old7

答えて

1

有効なセットアップ:

 <dependency> 
      <groupId>org.springframework.boot</groupId> 
      <artifactId>spring-boot-starter-security</artifactId> 
     </dependency> 
     <dependency> 
      <groupId>org.springframework.security.oauth</groupId> 
      <artifactId>spring-security-oauth2</artifactId> 
     </dependency> 
関連する問題