Example usage for org.springframework.security.oauth2.provider.error OAuth2AuthenticationEntryPoint setRealmName

List of usage examples for org.springframework.security.oauth2.provider.error OAuth2AuthenticationEntryPoint setRealmName

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.provider.error OAuth2AuthenticationEntryPoint setRealmName.

Prototype

public void setRealmName(String realmName) 

Source Link

Usage

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;//from  w w w . ja v  a2  s . c o m
}