org.springframework.security.oauth2.provider.endpoint
Class ExactMatchRedirectResolver

java.lang.Object
  extended by org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
      extended by org.springframework.security.oauth2.provider.endpoint.ExactMatchRedirectResolver
All Implemented Interfaces:
RedirectResolver

public class ExactMatchRedirectResolver
extends DefaultRedirectResolver

Default implementation for a redirect resolver.

Author:
Ryan Heaton, Dave Syer

Constructor Summary
ExactMatchRedirectResolver()
           
 
Method Summary
protected  boolean redirectMatches(String requestedRedirect, String redirectUri)
          Whether the requested redirect URI "matches" the specified redirect URI.
 
Methods inherited from class org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
resolveRedirect, setRedirectGrantTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExactMatchRedirectResolver

public ExactMatchRedirectResolver()
Method Detail

redirectMatches

protected boolean redirectMatches(String requestedRedirect,
                                  String redirectUri)
Whether the requested redirect URI "matches" the specified redirect URI. This implementation tests strict equality.

Overrides:
redirectMatches in class DefaultRedirectResolver
Parameters:
requestedRedirect - The requested redirect URI.
redirectUri - The registered redirect URI.
Returns:
Whether the requested redirect URI "matches" the specified redirect URI.


Copyright © 2012. All Rights Reserved.