| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>RedirectionBasedGrantService (Apache CXF JavaDoc 3.1.0 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="RedirectionBasedGrantService (Apache CXF JavaDoc 3.1.0 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RedirectionBasedGrantService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Apache CXF API</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.html" title="class in org.apache.cxf.rs.security.oauth2.services"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/TokenRevocationService.html" title="class in org.apache.cxf.rs.security.oauth2.services"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html" target="_top">Frames</a></li> |
| <li><a href="RedirectionBasedGrantService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.cxf.rs.security.oauth2.services</div> |
| <h2 title="Class RedirectionBasedGrantService" class="title">Class RedirectionBasedGrantService</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html" title="class in org.apache.cxf.rs.security.oauth2.services">org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.cxf.rs.security.oauth2.services.RedirectionBasedGrantService</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractImplicitGrantService.html" title="class in org.apache.cxf.rs.security.oauth2.services">AbstractImplicitGrantService</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.html" title="class in org.apache.cxf.rs.security.oauth2.services">AuthorizationCodeGrantService</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="strong">RedirectionBasedGrantService</span> |
| extends <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html" title="class in org.apache.cxf.rs.security.oauth2.services">AbstractOAuthService</a></pre> |
| <div class="block">The Base Redirection-Based Grant Service</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields_inherited_from_class_org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.cxf.rs.security.oauth2.services.<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html" title="class in org.apache.cxf.rs.security.oauth2.services">AbstractOAuthService</a></h3> |
| <code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#LOG">LOG</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#RedirectionBasedGrantService(java.lang.String,%20java.lang.String)">RedirectionBasedGrantService</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> supportedResponseType, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> supportedGrantType)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#authorize()">authorize</a></strong>()</code> |
| <div class="block">Handles the initial authorization request by preparing |
| the authorization challenge data and returning it to the user.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#authorizeDecision()">authorizeDecision</a></strong>()</code> |
| <div class="block">Processes the end user decision</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#authorizeDecisionForm(javax.ws.rs.core.MultivaluedMap)">authorizeDecisionForm</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</code> |
| <div class="block">Processes the end user decision</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#canRedirectUriBeEmpty(org.apache.cxf.rs.security.oauth2.common.Client)">canRedirectUriBeEmpty</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#canSupportPublicClient(org.apache.cxf.rs.security.oauth2.common.Client)">canSupportPublicClient</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#completeAuthorization(javax.ws.rs.core.MultivaluedMap)">completeAuthorization</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</code> |
| <div class="block">Completes the authorization process</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthAuthorizationData</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#createAuthorizationData(org.apache.cxf.rs.security.oauth2.common.Client,%20javax.ws.rs.core.MultivaluedMap,%20java.lang.String,%20org.apache.cxf.rs.security.oauth2.common.UserSubject,%20java.util.List,%20boolean)">createAuthorizationData</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthPermission.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthPermission</a>> perms, |
| boolean preAuthorizedTokenAvailable)</code> |
| <div class="block">Create the authorization challenge data</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#createErrorResponse(javax.ws.rs.core.MultivaluedMap,%20java.lang.String,%20java.lang.String)">createErrorResponse</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected abstract javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#createErrorResponse(java.lang.String,%20java.lang.String,%20java.lang.String)">createErrorResponse</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> state, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected abstract javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#createGrant(org.apache.cxf.rs.security.oauth2.common.OAuthRedirectionState,%20org.apache.cxf.rs.security.oauth2.common.Client,%20java.util.List,%20java.util.List,%20org.apache.cxf.rs.security.oauth2.common.UserSubject,%20org.apache.cxf.rs.security.oauth2.common.ServerAccessToken)">createGrant</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthRedirectionState.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthRedirectionState</a> state, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> requestedScope, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> approvedScope, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a> preAuthorizedToken)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#createUserSubject(org.apache.cxf.security.SecurityContext)">createUserSubject</a></strong>(<a href="../../../../../../../org/apache/cxf/security/SecurityContext.html" title="interface in org.apache.cxf.security">SecurityContext</a> securityContext)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/security/SecurityContext.html" title="interface in org.apache.cxf.security">SecurityContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#getAndValidateSecurityContext(javax.ws.rs.core.MultivaluedMap)">getAndValidateSecurityContext</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#getClient(javax.ws.rs.core.MultivaluedMap)">getClient</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#getClient(java.lang.String)">getClient</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientId)</code> |
| <div class="block">Get the <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common"><code>Client</code></a> reference</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#getSupportedGrantType()">getSupportedGrantType</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#personalizeData(org.apache.cxf.rs.security.oauth2.common.OAuthAuthorizationData,%20org.apache.cxf.rs.security.oauth2.common.UserSubject)">personalizeData</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthAuthorizationData</a> data, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthRedirectionState.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthRedirectionState</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#recreateRedirectionStateFromSession(org.apache.cxf.rs.security.oauth2.common.UserSubject,%20javax.ws.rs.core.MultivaluedMap,%20java.lang.String)">recreateRedirectionStateFromSession</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject, |
| javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sessionToken)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setMatchRedirectUriWithApplicationUri(boolean)">setMatchRedirectUriWithApplicationUri</a></strong>(boolean matchRedirectUriWithApplicationUri)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setMaxDefaultSessionInterval(int)">setMaxDefaultSessionInterval</a></strong>(int maxDefaultSessionInterval)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setPartialMatchScopeValidation(boolean)">setPartialMatchScopeValidation</a></strong>(boolean partialMatchScopeValidation)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setResourceOwnerNameProvider(org.apache.cxf.rs.security.oauth2.provider.ResourceOwnerNameProvider)">setResourceOwnerNameProvider</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/ResourceOwnerNameProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">ResourceOwnerNameProvider</a> resourceOwnerNameProvider)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setSessionAuthenticityTokenProvider(org.apache.cxf.rs.security.oauth2.provider.SessionAuthenticityTokenProvider)">setSessionAuthenticityTokenProvider</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/SessionAuthenticityTokenProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">SessionAuthenticityTokenProvider</a> sessionAuthenticityTokenProvider)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setSubjectCreator(org.apache.cxf.rs.security.oauth2.provider.SubjectCreator)">setSubjectCreator</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/SubjectCreator.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">SubjectCreator</a> creator)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#setUseRegisteredRedirectUriIfPossible(boolean)">setUseRegisteredRedirectUriIfPossible</a></strong>(boolean use)</code> |
| <div class="block">If a client does not include a redirect_uri parameter but has an exactly one |
| pre-registered redirect_uri then use that redirect_uri</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#startAuthorization(javax.ws.rs.core.MultivaluedMap)">startAuthorization</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</code> |
| <div class="block">Starts the authorization process</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected javax.ws.rs.core.Response</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#startAuthorization(javax.ws.rs.core.MultivaluedMap,%20org.apache.cxf.rs.security.oauth2.common.UserSubject,%20org.apache.cxf.rs.security.oauth2.common.Client)">startAuthorization</a></strong>(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html#validateRedirectUri(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String)">validateRedirectUri</a></strong>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.cxf.rs.security.oauth2.services.<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html" title="class in org.apache.cxf.rs.security.oauth2.services">AbstractOAuthService</a></h3> |
| <code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#checkTransportSecurity()">checkTransportSecurity</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#getDataProvider()">getDataProvider</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#getMessageContext()">getMessageContext</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#getQueryParameters()">getQueryParameters</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#getValidClient(javax.ws.rs.core.MultivaluedMap)">getValidClient</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#getValidClient(java.lang.String)">getValidClient</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#isWriteOptionalParameters()">isWriteOptionalParameters</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#reportInvalidRequestError(org.apache.cxf.rs.security.oauth2.common.OAuthError)">reportInvalidRequestError</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#reportInvalidRequestError(org.apache.cxf.rs.security.oauth2.common.OAuthError,%20javax.ws.rs.core.MediaType)">reportInvalidRequestError</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#reportInvalidRequestError(java.lang.String)">reportInvalidRequestError</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#reportInvalidRequestError(java.lang.String,%20javax.ws.rs.core.MediaType)">reportInvalidRequestError</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#setBlockUnsecureRequests(boolean)">setBlockUnsecureRequests</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#setDataProvider(org.apache.cxf.rs.security.oauth2.provider.OAuthDataProvider)">setDataProvider</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext)">setMessageContext</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/AbstractOAuthService.html#setWriteOptionalParameters(boolean)">setWriteOptionalParameters</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="RedirectionBasedGrantService(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RedirectionBasedGrantService</h4> |
| <pre>protected RedirectionBasedGrantService(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> supportedResponseType, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> supportedGrantType)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="authorize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authorize</h4> |
| <pre>@GET |
| @Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"}) |
| public javax.ws.rs.core.Response authorize()</pre> |
| <div class="block">Handles the initial authorization request by preparing |
| the authorization challenge data and returning it to the user. |
| Typically the data are expected to be presented in the HTML form</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the authorization data</dd></dl> |
| </li> |
| </ul> |
| <a name="authorizeDecision()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authorizeDecision</h4> |
| <pre>@GET |
| @Path(value="/decision") |
| public javax.ws.rs.core.Response authorizeDecision()</pre> |
| <div class="block">Processes the end user decision</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The grant value, authorization code or the token</dd></dl> |
| </li> |
| </ul> |
| <a name="authorizeDecisionForm(javax.ws.rs.core.MultivaluedMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authorizeDecisionForm</h4> |
| <pre>@POST |
| @Path(value="/decision") |
| @Consumes(value="application/x-www-form-urlencoded") |
| public javax.ws.rs.core.Response authorizeDecisionForm(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</pre> |
| <div class="block">Processes the end user decision</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>The grant value, authorization code or the token</dd></dl> |
| </li> |
| </ul> |
| <a name="startAuthorization(javax.ws.rs.core.MultivaluedMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startAuthorization</h4> |
| <pre>protected javax.ws.rs.core.Response startAuthorization(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</pre> |
| <div class="block">Starts the authorization process</div> |
| </li> |
| </ul> |
| <a name="startAuthorization(javax.ws.rs.core.MultivaluedMap, org.apache.cxf.rs.security.oauth2.common.UserSubject, org.apache.cxf.rs.security.oauth2.common.Client)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startAuthorization</h4> |
| <pre>protected javax.ws.rs.core.Response startAuthorization(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client)</pre> |
| </li> |
| </ul> |
| <a name="createAuthorizationData(org.apache.cxf.rs.security.oauth2.common.Client, javax.ws.rs.core.MultivaluedMap, java.lang.String, org.apache.cxf.rs.security.oauth2.common.UserSubject, java.util.List, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAuthorizationData</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthAuthorizationData</a> createAuthorizationData(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthPermission.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthPermission</a>> perms, |
| boolean preAuthorizedTokenAvailable)</pre> |
| <div class="block">Create the authorization challenge data</div> |
| </li> |
| </ul> |
| <a name="recreateRedirectionStateFromSession(org.apache.cxf.rs.security.oauth2.common.UserSubject, javax.ws.rs.core.MultivaluedMap, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>recreateRedirectionStateFromSession</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthRedirectionState.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthRedirectionState</a> recreateRedirectionStateFromSession(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> subject, |
| javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sessionToken)</pre> |
| </li> |
| </ul> |
| <a name="personalizeData(org.apache.cxf.rs.security.oauth2.common.OAuthAuthorizationData, org.apache.cxf.rs.security.oauth2.common.UserSubject)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>personalizeData</h4> |
| <pre>protected void personalizeData(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthAuthorizationData.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthAuthorizationData</a> data, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject)</pre> |
| </li> |
| </ul> |
| <a name="completeAuthorization(javax.ws.rs.core.MultivaluedMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>completeAuthorization</h4> |
| <pre>protected javax.ws.rs.core.Response completeAuthorization(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</pre> |
| <div class="block">Completes the authorization process</div> |
| </li> |
| </ul> |
| <a name="setSessionAuthenticityTokenProvider(org.apache.cxf.rs.security.oauth2.provider.SessionAuthenticityTokenProvider)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSessionAuthenticityTokenProvider</h4> |
| <pre>public void setSessionAuthenticityTokenProvider(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/SessionAuthenticityTokenProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">SessionAuthenticityTokenProvider</a> sessionAuthenticityTokenProvider)</pre> |
| </li> |
| </ul> |
| <a name="setSubjectCreator(org.apache.cxf.rs.security.oauth2.provider.SubjectCreator)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSubjectCreator</h4> |
| <pre>public void setSubjectCreator(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/SubjectCreator.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">SubjectCreator</a> creator)</pre> |
| </li> |
| </ul> |
| <a name="createUserSubject(org.apache.cxf.security.SecurityContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createUserSubject</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> createUserSubject(<a href="../../../../../../../org/apache/cxf/security/SecurityContext.html" title="interface in org.apache.cxf.security">SecurityContext</a> securityContext)</pre> |
| </li> |
| </ul> |
| <a name="createErrorResponse(javax.ws.rs.core.MultivaluedMap, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createErrorResponse</h4> |
| <pre>protected javax.ws.rs.core.Response createErrorResponse(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)</pre> |
| </li> |
| </ul> |
| <a name="createErrorResponse(java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createErrorResponse</h4> |
| <pre>protected abstract javax.ws.rs.core.Response createErrorResponse(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> state, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> error)</pre> |
| </li> |
| </ul> |
| <a name="createGrant(org.apache.cxf.rs.security.oauth2.common.OAuthRedirectionState, org.apache.cxf.rs.security.oauth2.common.Client, java.util.List, java.util.List, org.apache.cxf.rs.security.oauth2.common.UserSubject, org.apache.cxf.rs.security.oauth2.common.ServerAccessToken)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createGrant</h4> |
| <pre>protected abstract javax.ws.rs.core.Response createGrant(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/OAuthRedirectionState.html" title="class in org.apache.cxf.rs.security.oauth2.common">OAuthRedirectionState</a> state, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> requestedScope, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> approvedScope, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a> userSubject, |
| <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a> preAuthorizedToken)</pre> |
| </li> |
| </ul> |
| <a name="getAndValidateSecurityContext(javax.ws.rs.core.MultivaluedMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAndValidateSecurityContext</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/security/SecurityContext.html" title="interface in org.apache.cxf.security">SecurityContext</a> getAndValidateSecurityContext(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</pre> |
| </li> |
| </ul> |
| <a name="validateRedirectUri(org.apache.cxf.rs.security.oauth2.common.Client, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validateRedirectUri</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> validateRedirectUri(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> client, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> redirectUri)</pre> |
| </li> |
| </ul> |
| <a name="getClient(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClient</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> getClient(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientId)</pre> |
| <div class="block">Get the <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common"><code>Client</code></a> reference</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>params</code> - request parameters</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Client the client reference</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code>{@link</code> - javax.ws.rs.WebApplicationException} if no matching Client is found, |
| the error is returned directly to the end user without |
| following the redirect URI if any</dd></dl> |
| </li> |
| </ul> |
| <a name="getClient(javax.ws.rs.core.MultivaluedMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClient</h4> |
| <pre>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> getClient(javax.ws.rs.core.MultivaluedMap<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> params)</pre> |
| </li> |
| </ul> |
| <a name="getSupportedGrantType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSupportedGrantType</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSupportedGrantType()</pre> |
| </li> |
| </ul> |
| <a name="setResourceOwnerNameProvider(org.apache.cxf.rs.security.oauth2.provider.ResourceOwnerNameProvider)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setResourceOwnerNameProvider</h4> |
| <pre>public void setResourceOwnerNameProvider(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/ResourceOwnerNameProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">ResourceOwnerNameProvider</a> resourceOwnerNameProvider)</pre> |
| </li> |
| </ul> |
| <a name="setPartialMatchScopeValidation(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPartialMatchScopeValidation</h4> |
| <pre>public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)</pre> |
| </li> |
| </ul> |
| <a name="setUseRegisteredRedirectUriIfPossible(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUseRegisteredRedirectUriIfPossible</h4> |
| <pre>public void setUseRegisteredRedirectUriIfPossible(boolean use)</pre> |
| <div class="block">If a client does not include a redirect_uri parameter but has an exactly one |
| pre-registered redirect_uri then use that redirect_uri</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>use</code> - allows to use a single registered redirect_uri if set to true (default)</dd></dl> |
| </li> |
| </ul> |
| <a name="canSupportPublicClient(org.apache.cxf.rs.security.oauth2.common.Client)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>canSupportPublicClient</h4> |
| <pre>protected abstract boolean canSupportPublicClient(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</pre> |
| </li> |
| </ul> |
| <a name="canRedirectUriBeEmpty(org.apache.cxf.rs.security.oauth2.common.Client)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>canRedirectUriBeEmpty</h4> |
| <pre>protected abstract boolean canRedirectUriBeEmpty(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a> c)</pre> |
| </li> |
| </ul> |
| <a name="setMaxDefaultSessionInterval(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxDefaultSessionInterval</h4> |
| <pre>public void setMaxDefaultSessionInterval(int maxDefaultSessionInterval)</pre> |
| </li> |
| </ul> |
| <a name="setMatchRedirectUriWithApplicationUri(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setMatchRedirectUriWithApplicationUri</h4> |
| <pre>public void setMatchRedirectUriWithApplicationUri(boolean matchRedirectUriWithApplicationUri)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/RedirectionBasedGrantService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em>Apache CXF API</em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/ImplicitGrantService.html" title="class in org.apache.cxf.rs.security.oauth2.services"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/services/TokenRevocationService.html" title="class in org.apache.cxf.rs.security.oauth2.services"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.html" target="_top">Frames</a></li> |
| <li><a href="RedirectionBasedGrantService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields_inherited_from_class_org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Apache CXF</small></p> |
| </body> |
| </html> |