List of usage examples for org.springframework.security.oauth2.provider.error OAuth2AuthenticationEntryPoint OAuth2AuthenticationEntryPoint
OAuth2AuthenticationEntryPoint
From source file:org.meruvian.yama.webapi.config.oauth.OAuthServerConfig.java
@Bean public AuthenticationEntryPoint oauth2AuthenticationEntryPoint() { OAuth2AuthenticationEntryPoint e = new OAuth2AuthenticationEntryPoint(); e.setRealmName("yama/client"); e.setTypeName("Basic"); return e;/* w w w. ja v a 2s . c o m*/ }