|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth2.provider.endpoint.DefaultRedirectResolver
public class DefaultRedirectResolver
Default implementation for a redirect resolver.
| Constructor Summary | |
|---|---|
DefaultRedirectResolver()
|
|
| Method Summary | |
|---|---|
protected boolean |
redirectMatches(String requestedRedirect,
String redirectUri)
Whether the requested redirect URI "matches" the specified redirect URI. |
String |
resolveRedirect(String requestedRedirect,
ClientDetails client)
Resolve the redirect for the specified client. |
void |
setRedirectGrantTypes(Collection<String> redirectGrantTypes)
Grant types that are permitted to have a redirect uri. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRedirectResolver()
| Method Detail |
|---|
public void setRedirectGrantTypes(Collection<String> redirectGrantTypes)
redirectGrantTypes - the redirect grant types to set
public String resolveRedirect(String requestedRedirect,
ClientDetails client)
throws OAuth2Exception
RedirectResolver
resolveRedirect in interface RedirectResolverrequestedRedirect - The redirect that was requested (may not be null).client - The client for which we're resolving the redirect.
OAuth2Exception - If the requested redirect is invalid for the specified client.
protected boolean redirectMatches(String requestedRedirect,
String redirectUri)
requestedRedirect - The requested redirect URI.redirectUri - The registered redirect URI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||