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

java.lang.Object
  继承者 org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
      继承者 org.springframework.security.oauth2.provider.endpoint.ExactMatchRedirectResolver
所有已实现的接口:
RedirectResolver

public class ExactMatchRedirectResolver
extends DefaultRedirectResolver

Strict implementation for a redirect resolver which requires an exact match between the registered and requested redirect_uri.

作者:
Ryan Heaton, Dave Syer

构造方法摘要
ExactMatchRedirectResolver()
           
 
方法摘要
protected  boolean redirectMatches(String requestedRedirect, String redirectUri)
          Whether the requested redirect URI "matches" the specified redirect URI.
 
从类 org.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver 继承的方法
hostMatches, resolveRedirect, setMatchSubdomains, setRedirectGrantTypes
 
从类 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.

覆盖:
DefaultRedirectResolver 中的 redirectMatches
参数:
requestedRedirect - The requested redirect URI.
redirectUri - The registered redirect URI.
返回:
Whether the requested redirect URI "matches" the specified redirect URI.


Copyright © 2013. All rights reserved.