org.springframework.security.oauth2.provider.endpoint
Class ExactMatchRedirectResolver
java.lang.Object
org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
org.springframework.security.oauth2.provider.endpoint.ExactMatchRedirectResolver
- All Implemented Interfaces:
- RedirectResolver
public class ExactMatchRedirectResolver
- extends DefaultRedirectResolver
Strict implementation for a redirect resolver which requires
an exact match between the registered and requested redirect_uri.
- Author:
- Ryan Heaton, Dave Syer
|
Method Summary |
protected boolean |
redirectMatches(String requestedRedirect,
String redirectUri)
Whether the requested redirect URI "matches" the specified redirect URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExactMatchRedirectResolver
public ExactMatchRedirectResolver()
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 © 2013. All rights reserved.