List of usage examples for org.springframework.security.oauth2.client.token.grant.implicit ImplicitResourceDetails getRedirectUri
public String getRedirectUri(AccessTokenRequest request)
From source file:org.cloudfoundry.identity.uaa.integration.VmcAuthenticationTests.java
@Before public void init() { ImplicitResourceDetails resource = testAccounts.getDefaultImplicitResource(); params = new LinkedMultiValueMap<String, String>(); params.set("client_id", resource.getClientId()); params.set("redirect_uri", resource.getRedirectUri(new DefaultAccessTokenRequest())); params.set("response_type", "token"); headers = new HttpHeaders(); headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON)); }