blob: 530d530f6ba3d38c4591588182f3fa4a899f1295 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JPACodeDataProvider (Apache CXF JavaDoc 3.4.5 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JPACodeDataProvider (Apache CXF JavaDoc 3.4.5 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/JPACodeDataProvider.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">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACMTCodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html" target="_top">Frames</a></li>
<li><a href="JPACodeDataProvider.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.grants.code</div>
<h2 title="Class JPACodeDataProvider" class="title">Class JPACodeDataProvider</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/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/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">org.apache.cxf.rs.security.oauth2.provider.AbstractOAuthDataProvider</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider</a></li>
<li>
<ul class="inheritance">
<li>org.apache.cxf.rs.security.oauth2.grants.code.JPACodeDataProvider</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeDataProvider</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">ClientRegistrationProvider</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">OAuthDataProvider</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACMTCodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">JPACMTCodeDataProvider</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">JPACodeDataProvider</span>
extends <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">JPAOAuthDataProvider</a>
implements <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeDataProvider</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">JPAOAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.EntityManagerOperation.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">JPAOAuthDataProvider.EntityManagerOperation</a>&lt;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.EntityManagerOperation.html" title="type parameter in JPAOAuthDataProvider.EntityManagerOperation">T</a>&gt;</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#JPACodeDataProvider--">JPACodeDataProvider</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#createCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">createCodeGrant</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeRegistration</a>&nbsp;reg)</code>
<div class="block">Creates a temporarily code grant which will capture the
information about 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> requesting the access to
the resource owner's resources</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#doCreateCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">doCreateCodeGrant</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeRegistration</a>&nbsp;reg)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#doRemoveClient-org.apache.cxf.rs.security.oauth2.common.Client-">doRemoveClient</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#getCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getCodeGrants</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;subject)</code>
<div class="block">Return the list of code grants associated with a given client</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected javax.persistence.TypedQuery&lt;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#getCodesQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">getCodesQuery</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;resourceOwnerSubject,
javax.persistence.EntityManager&nbsp;em)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#removeClientCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-">removeClientCodeGrants</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#removeClientCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-javax.persistence.EntityManager-">removeClientCodeGrants</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
javax.persistence.EntityManager&nbsp;em)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#removeCodeGrant-java.lang.String-">removeCodeGrant</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;code)</code>
<div class="block">Returns the previously registered <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>ServerAuthorizationCodeGrant</code></a></div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#saveCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant-">saveCodeGrant</a></span>(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&nbsp;grant)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html#setCodeLifetime-long-">setCodeLifetime</a></span>(long&nbsp;codeLifetime)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">JPAOAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#beginIfNeeded-javax.persistence.EntityManager-">beginIfNeeded</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#closeIfNeeded-javax.persistence.EntityManager-">closeIfNeeded</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#commitIfNeeded-javax.persistence.EntityManager-">commitIfNeeded</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doCreateAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">doCreateAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doGetClient-java.lang.String-">doGetClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doRevokeAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">doRevokeAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doRevokeRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">doRevokeRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#execute-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">execute</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#executeInTransaction-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">executeInTransaction</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#flushIfNeeded-javax.persistence.EntityManager-">flushIfNeeded</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getAccessToken-java.lang.String-">getAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getAccessTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getAccessTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getClients-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getClients</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getClientsQuery-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">getClientsQuery</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getEntityManager--">getEntityManager</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getRefreshToken-java.lang.String-">getRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getRefreshTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getRefreshTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getRefreshTokensQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">getRefreshTokensQuery</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getTokensQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">getTokensQuery</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#linkRefreshTokenToAccessToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">linkRefreshTokenToAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#persistEntity-java.lang.Object-">persistEntity</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#removeEntity-java.lang.Object-">removeEntity</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#saveAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">saveAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#saveRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">saveRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#setClient-org.apache.cxf.rs.security.oauth2.common.Client-">setClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#setEntityManagerFactory-javax.persistence.EntityManagerFactory-">setEntityManagerFactory</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.AbstractOAuthDataProvider">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#authenticateUnregisteredClient-java.lang.String-java.lang.String-">authenticateUnregisteredClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#checkRequestedScopes-org.apache.cxf.rs.security.oauth2.common.Client-java.util.List-">checkRequestedScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#close--">close</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#convertScopeToPermissions-org.apache.cxf.rs.security.oauth2.common.Client-java.util.List-">convertScopeToPermissions</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#convertSingleScopeToPermission-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-java.util.List-">convertSingleScopeToPermission</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#createAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">createAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#createClientCredentialsClient-java.lang.String-java.lang.String-">createClientCredentialsClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#createJwtAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">createJwtAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#createNewAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">createNewAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#createNewRefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">createNewRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doCreateNewRefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">doCreateNewRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doRefreshAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-java.util.List-">doRefreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getClient-java.lang.String-">getClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getCurrentClientSecret--">getCurrentClientSecret</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getCurrentRequestedGrantType--">getCurrentRequestedGrantType</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getCurrentTokenRequestParams--">getCurrentTokenRequestParams</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getDefaultScopes--">getDefaultScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getInvisibleToClientScopes--">getInvisibleToClientScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getIssuer--">getIssuer</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getJwtAccessTokenClaimMap--">getJwtAccessTokenClaimMap</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getJwtAccessTokenProducer--">getJwtAccessTokenProducer</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getMessageContext--">getMessageContext</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getPermissionMap--">getPermissionMap</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getPreauthorizedToken-org.apache.cxf.rs.security.oauth2.common.Client-java.util.List-org.apache.cxf.rs.security.oauth2.common.UserSubject-java.lang.String-">getPreauthorizedToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getRequiredScopes--">getRequiredScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#handleLinkedRefreshToken-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">handleLinkedRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#init--">init</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isClientMatched-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">isClientMatched</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isPersistJwtEncoding--">isPersistJwtEncoding</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isRecycleRefreshTokens--">isRecycleRefreshTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isRefreshTokenSupported-java.util.List-">isRefreshTokenSupported</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isSupportPreauthorizedTokens--">isSupportPreauthorizedTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isTokenMatched-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">isTokenMatched</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#isUseJwtFormatForAccessTokens--">isUseJwtFormatForAccessTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#linkAccessTokenToRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">linkAccessTokenToRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#processJwtAccessToken-org.apache.cxf.rs.security.jose.jwt.JwtClaims-">processJwtAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#refreshAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-java.util.List-">refreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#removeClient-java.lang.String-">removeClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#removeClientTokens-org.apache.cxf.rs.security.oauth2.common.Client-">removeClientTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-">revokeAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeAccessTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">revokeAccessTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeRefreshToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-">revokeRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-java.lang.String-">revokeToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setAccessTokenLifetime-long-">setAccessTokenLifetime</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setAuthenticationStrategy-org.apache.cxf.rs.security.oauth2.provider.ProviderAuthenticationStrategy-">setAuthenticationStrategy</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setClients-java.util.List-">setClients</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setDefaultScopes-java.util.List-">setDefaultScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setInvisibleToClientScopes-java.util.List-">setInvisibleToClientScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setIssuer-java.lang.String-">setIssuer</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setJwtAccessTokenClaimMap-java.util.Map-">setJwtAccessTokenClaimMap</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setJwtAccessTokenProducer-org.apache.cxf.rs.security.oauth2.provider.OAuthJoseJwtProducer-">setJwtAccessTokenProducer</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setMessageContext-org.apache.cxf.jaxrs.ext.MessageContext-">setMessageContext</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setPermissionMap-java.util.Map-">setPermissionMap</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setPersistJwtEncoding-boolean-">setPersistJwtEncoding</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setRecycleRefreshTokens-boolean-">setRecycleRefreshTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setRefreshTokenLifetime-long-">setRefreshTokenLifetime</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setRequiredScopes-java.util.List-">setRequiredScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setSupportedScopes-java.util.Map-">setSupportedScopes</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setSupportPreauthorizedTokens-boolean-">setSupportPreauthorizedTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#setUseJwtFormatForAccessTokens-boolean-">setUseJwtFormatForAccessTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#unlinkRefreshAccessToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-java.lang.String-">unlinkRefreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#updateExistingRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">updateExistingRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#updateRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">updateRefreshToken</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&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.OAuthDataProvider">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.provider">OAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#convertScopeToPermissions-org.apache.cxf.rs.security.oauth2.common.Client-java.util.List-">convertScopeToPermissions</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#createAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">createAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#getAccessToken-java.lang.String-">getAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#getAccessTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getAccessTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#getClient-java.lang.String-">getClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#getPreauthorizedToken-org.apache.cxf.rs.security.oauth2.common.Client-java.util.List-org.apache.cxf.rs.security.oauth2.common.UserSubject-java.lang.String-">getPreauthorizedToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#getRefreshTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getRefreshTokens</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#refreshAccessToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-java.util.List-">refreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#revokeToken-org.apache.cxf.rs.security.oauth2.common.Client-java.lang.String-java.lang.String-">revokeToken</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="JPACodeDataProvider--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JPACodeDataProvider</h4>
<pre>public&nbsp;JPACodeDataProvider()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCodeGrant</h4>
<pre>public&nbsp;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&nbsp;createCodeGrant(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeRegistration</a>&nbsp;reg)
throws <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#createCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">AuthorizationCodeDataProvider</a></code></span></div>
<div class="block">Creates a temporarily code grant which will capture the
information about 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> requesting the access to
the resource owner's resources</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#createCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">createCodeGrant</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeDataProvider</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reg</code> - information about the client code grant request</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new code grant</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>AuthorizationCodeRegistration</code></a>,
<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>ServerAuthorizationCodeGrant</code></a></dd>
</dl>
</li>
</ul>
<a name="doCreateCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doCreateCodeGrant</h4>
<pre>protected&nbsp;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&nbsp;doCreateCodeGrant(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeRegistration</a>&nbsp;reg)
throws <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></code></dd>
</dl>
</li>
</ul>
<a name="saveCodeGrant-org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>saveCodeGrant</h4>
<pre>protected&nbsp;void&nbsp;saveCodeGrant(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&nbsp;grant)</pre>
</li>
</ul>
<a name="doRemoveClient-org.apache.cxf.rs.security.oauth2.common.Client-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doRemoveClient</h4>
<pre>protected&nbsp;void&nbsp;doRemoveClient(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doRemoveClient-org.apache.cxf.rs.security.oauth2.common.Client-">doRemoveClient</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">JPAOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="removeClientCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeClientCodeGrants</h4>
<pre>protected&nbsp;void&nbsp;removeClientCodeGrants(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c)</pre>
</li>
</ul>
<a name="removeClientCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeClientCodeGrants</h4>
<pre>protected&nbsp;void&nbsp;removeClientCodeGrants(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
javax.persistence.EntityManager&nbsp;em)</pre>
</li>
</ul>
<a name="removeCodeGrant-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCodeGrant</h4>
<pre>public&nbsp;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&nbsp;removeCodeGrant(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;code)
throws <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#removeCodeGrant-java.lang.String-">AuthorizationCodeDataProvider</a></code></span></div>
<div class="block">Returns the previously registered <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>ServerAuthorizationCodeGrant</code></a></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#removeCodeGrant-java.lang.String-">removeCodeGrant</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeDataProvider</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>code</code> - the code grant</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the grant</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></code> - if no grant with this code is available</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>ServerAuthorizationCodeGrant</code></a></dd>
</dl>
</li>
</ul>
<a name="getCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCodeGrants</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&gt;&nbsp;getCodeGrants(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;subject)
throws <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#getCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">AuthorizationCodeDataProvider</a></code></span></div>
<div class="block">Return the list of code grants associated with a given client</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html#getCodeGrants-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getCodeGrants</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code">AuthorizationCodeDataProvider</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - the client</dd>
<dd><code>subject</code> - the user subject, can be null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the list of grants</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthServiceException.html" title="class in org.apache.cxf.rs.security.oauth2.provider">OAuthServiceException</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><code>ServerAuthorizationCodeGrant</code></a></dd>
</dl>
</li>
</ul>
<a name="setCodeLifetime-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCodeLifetime</h4>
<pre>public&nbsp;void&nbsp;setCodeLifetime(long&nbsp;codeLifetime)</pre>
</li>
</ul>
<a name="getCodesQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCodesQuery</h4>
<pre>protected&nbsp;javax.persistence.TypedQuery&lt;<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/ServerAuthorizationCodeGrant.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">ServerAuthorizationCodeGrant</a>&gt;&nbsp;getCodesQuery(<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;c,
<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;resourceOwnerSubject,
javax.persistence.EntityManager&nbsp;em)</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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/JPACodeDataProvider.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">Apache CXF API</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JPACMTCodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/JwtRequestCodeFilter.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/JPACodeDataProvider.html" target="_top">Frames</a></li>
<li><a href="JPACodeDataProvider.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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>