nl.surfnet.coin.api.oauth
Class ImplicitGrantExplicitRedirectResolver

java.lang.Object
  extended by org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
      extended by nl.surfnet.coin.api.oauth.ImplicitGrantExplicitRedirectResolver
All Implemented Interfaces:
org.springframework.security.oauth2.provider.endpoint.RedirectResolver

public class ImplicitGrantExplicitRedirectResolver
extends org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver

A DefaultRedirectResolver that throws an OAuth exception when the an implicit grant request is made without a redirectUri in janus (see https://jira.surfconext.nl/jira/browse/BACKLOG-511).


Constructor Summary
ImplicitGrantExplicitRedirectResolver()
           
 
Method Summary
 String resolveRedirect(String requestedRedirect, org.springframework.security.oauth2.provider.ClientDetails client)
           
 
Methods inherited from class org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
redirectMatches, setRedirectGrantTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplicitGrantExplicitRedirectResolver

public ImplicitGrantExplicitRedirectResolver()
Method Detail

resolveRedirect

public String resolveRedirect(String requestedRedirect,
                              org.springframework.security.oauth2.provider.ClientDetails client)
Specified by:
resolveRedirect in interface org.springframework.security.oauth2.provider.endpoint.RedirectResolver
Overrides:
resolveRedirect in class org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.