blob: ce91c1073b329ebc331fd9da65873b7acd6616cc [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>JPAOAuthDataProvider (Apache CXF JavaDoc 3.2.0 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="JPAOAuthDataProvider (Apache CXF JavaDoc 3.2.0 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,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":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/JPAOAuthDataProvider.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/provider/JoseSessionTokenProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.EntityManagerOperation.html" title="interface in org.apache.cxf.rs.security.oauth2.provider"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" target="_top">Frames</a></li>
<li><a href="JPAOAuthDataProvider.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.class.summary">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.provider</div>
<h2 title="Class JPAOAuthDataProvider" class="title">Class JPAOAuthDataProvider</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://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>org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider</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/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/JPACodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code">JPACodeDataProvider</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">JPAOAuthDataProvider</span>
extends <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></pre>
<div class="block">Provides a Jpa BMT implementation for OAuthDataProvider.
If your application runs in a container and if you want to use
container managed persistence, you'll have to override
the following methods :
<ul>
<li> <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getEntityManager--"><code>getEntityManager()</code></a></li>
<li> <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#commitIfNeeded-javax.persistence.EntityManager-"><code>commitIfNeeded(EntityManager)</code></a></li>
<li> <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#closeIfNeeded-javax.persistence.EntityManager-"><code>closeIfNeeded(EntityManager)</code></a></li>
</ul></div>
</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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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;</span></code>&nbsp;</td>
</tr>
</table>
</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/provider/JPAOAuthDataProvider.html#JPAOAuthDataProvider--">JPAOAuthDataProvider</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>protected javax.persistence.EntityTransaction</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#beginIfNeeded-javax.persistence.EntityManager-">beginIfNeeded</a></span>(javax.persistence.EntityManager&nbsp;em)</code>
<div class="block">Begins the current transaction.</div>
</td>
</tr>
<tr id="i1" 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/provider/JPAOAuthDataProvider.html#closeIfNeeded-javax.persistence.EntityManager-">closeIfNeeded</a></span>(javax.persistence.EntityManager&nbsp;em)</code>
<div class="block">Closes the current em.</div>
</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/provider/JPAOAuthDataProvider.html#commitIfNeeded-javax.persistence.EntityManager-">commitIfNeeded</a></span>(javax.persistence.EntityManager&nbsp;em)</code>
<div class="block">Commits the current transaction.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doCreateAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">doCreateAccessToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/AccessTokenRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.common">AccessTokenRegistration</a>&nbsp;atReg)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><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><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#doGetClient-java.lang.String-">doGetClient</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clientId)</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/provider/JPAOAuthDataProvider.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="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/provider/JPAOAuthDataProvider.html#doRevokeAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">doRevokeAccessToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;at)</code>&nbsp;</td>
</tr>
<tr id="i7" 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/provider/JPAOAuthDataProvider.html#doRevokeRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">doRevokeRefreshToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;rt)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected &lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#execute-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">execute</a></span>(<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;T&gt;&nbsp;operation)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected &lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#executeInTransaction-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">executeInTransaction</a></span>(<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;T&gt;&nbsp;operation)</code>&nbsp;</td>
</tr>
<tr id="i10" 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/provider/JPAOAuthDataProvider.html#flushIfNeeded-javax.persistence.EntityManager-">flushIfNeeded</a></span>(javax.persistence.EntityManager&nbsp;em)</code>
<div class="block">Flush the current transaction.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getAccessToken-java.lang.String-">getAccessToken</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accessToken)</code>
<div class="block">Get access token</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="http://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/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></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;sub)</code>
<div class="block">Return all access tokens associated with a given client</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://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/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getClients-org.apache.cxf.rs.security.oauth2.common.UserSubject-">getClients</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;resourceOwner)</code>
<div class="block">Get a list of clients registered by a resource owner.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></span>(<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;entityManager)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected javax.persistence.EntityManager</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getEntityManager--">getEntityManager</a></span>()</code>
<div class="block">Returns the entityManaged used for the current operation.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#getRefreshToken-java.lang.String-">getRefreshToken</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refreshTokenKey)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="http://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/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></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;sub)</code>
<div class="block">Return all refresh tokens associated with a given client</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></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;entityManager)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/bearer/BearerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.bearer">BearerAccessToken</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><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></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;entityManager)</code>&nbsp;</td>
</tr>
<tr id="i20" 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/provider/JPAOAuthDataProvider.html#linkRefreshTokenToAccessToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">linkRefreshTokenToAccessToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;rt,
<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;at)</code>&nbsp;</td>
</tr>
<tr id="i21" 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/provider/JPAOAuthDataProvider.html#persistEntity-java.lang.Object-">persistEntity</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;entity)</code>&nbsp;</td>
</tr>
<tr id="i22" 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/provider/JPAOAuthDataProvider.html#removeEntity-java.lang.Object-">removeEntity</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;entity)</code>&nbsp;</td>
</tr>
<tr id="i23" 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/provider/JPAOAuthDataProvider.html#saveAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">saveAccessToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;serverToken)</code>&nbsp;</td>
</tr>
<tr id="i24" 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/provider/JPAOAuthDataProvider.html#saveRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">saveRefreshToken</a></span>(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;refreshToken)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#setClient-org.apache.cxf.rs.security.oauth2.common.Client-">setClient</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;client)</code>
<div class="block">Set a Client</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html#setEntityManagerFactory-javax.persistence.EntityManagerFactory-">setEntityManagerFactory</a></span>(javax.persistence.EntityManagerFactory&nbsp;emf)</code>&nbsp;</td>
</tr>
</table>
<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#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.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#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-java.lang.String-">revokeAccessToken</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeAccessTokens-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">revokeAccessTokens</a>, <a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeRefreshToken-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#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#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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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>
</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="JPAOAuthDataProvider--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JPAOAuthDataProvider</h4>
<pre>public&nbsp;JPAOAuthDataProvider()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setEntityManagerFactory-javax.persistence.EntityManagerFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEntityManagerFactory</h4>
<pre>public&nbsp;void&nbsp;setEntityManagerFactory(javax.persistence.EntityManagerFactory&nbsp;emf)</pre>
</li>
</ul>
<a name="doGetClient-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doGetClient</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;doGetClient(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clientId)
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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doGetClient-java.lang.String-">doGetClient</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></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>
</dl>
</li>
</ul>
<a name="execute-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;execute(<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;T&gt;&nbsp;operation)</pre>
</li>
</ul>
<a name="executeInTransaction-org.apache.cxf.rs.security.oauth2.provider.JPAOAuthDataProvider.EntityManagerOperation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeInTransaction</h4>
<pre>protected&nbsp;&lt;T&gt;&nbsp;T&nbsp;executeInTransaction(<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;T&gt;&nbsp;operation)</pre>
</li>
</ul>
<a name="setClient-org.apache.cxf.rs.security.oauth2.common.Client-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClient</h4>
<pre>public&nbsp;void&nbsp;setClient(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&nbsp;client)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.html#setClient-org.apache.cxf.rs.security.oauth2.common.Client-">ClientRegistrationProvider</a></code></span></div>
<div class="block">Set a Client</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>client</code> - the client</dd>
</dl>
</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">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.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/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="getClients-org.apache.cxf.rs.security.oauth2.common.UserSubject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClients</h4>
<pre>public&nbsp;<a href="http://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/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&gt;&nbsp;getClients(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/UserSubject.html" title="class in org.apache.cxf.rs.security.oauth2.common">UserSubject</a>&nbsp;resourceOwner)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.html#getClients-org.apache.cxf.rs.security.oauth2.common.UserSubject-">ClientRegistrationProvider</a></code></span></div>
<div class="block">Get a list of clients registered by a resource owner.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resourceOwner</code> - the resource owner, can be null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the list of clients</dd>
</dl>
</li>
</ul>
<a name="getAccessTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessTokens</h4>
<pre>public&nbsp;<a href="http://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/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&gt;&nbsp;getAccessTokens(<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;sub)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><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-">OAuthDataProvider</a></code></span></div>
<div class="block">Return all access tokens associated with a given client</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - the client</dd>
<dd><code>sub</code> - the user subject, can be null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of access tokens</dd>
</dl>
</li>
</ul>
<a name="getRefreshTokens-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefreshTokens</h4>
<pre>public&nbsp;<a href="http://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/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&gt;&nbsp;getRefreshTokens(<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;sub)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><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-">OAuthDataProvider</a></code></span></div>
<div class="block">Return all refresh tokens associated with a given client</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - the client</dd>
<dd><code>sub</code> - the user subject, can be null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of refresh tokens</dd>
</dl>
</li>
</ul>
<a name="getAccessToken-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessToken</h4>
<pre>public&nbsp;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;getAccessToken(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accessToken)
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/provider/OAuthDataProvider.html#getAccessToken-java.lang.String-">OAuthDataProvider</a></code></span></div>
<div class="block">Get access token</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>accessToken</code> - the token key</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>AccessToken</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>
</dl>
</li>
</ul>
<a name="doRevokeAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doRevokeAccessToken</h4>
<pre>protected&nbsp;void&nbsp;doRevokeAccessToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;at)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doRevokeAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">doRevokeAccessToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="linkRefreshTokenToAccessToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linkRefreshTokenToAccessToken</h4>
<pre>protected&nbsp;void&nbsp;linkRefreshTokenToAccessToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;rt,
<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;at)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#linkRefreshTokenToAccessToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">linkRefreshTokenToAccessToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="getRefreshToken-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefreshToken</h4>
<pre>protected&nbsp;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;getRefreshToken(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refreshTokenKey)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getRefreshToken-java.lang.String-">getRefreshToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="doRevokeRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doRevokeRefreshToken</h4>
<pre>protected&nbsp;void&nbsp;doRevokeRefreshToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;rt)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doRevokeRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">doRevokeRefreshToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="doCreateAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doCreateAccessToken</h4>
<pre>protected&nbsp;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;doCreateAccessToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/AccessTokenRegistration.html" title="class in org.apache.cxf.rs.security.oauth2.common">AccessTokenRegistration</a>&nbsp;atReg)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doCreateAccessToken-org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration-">doCreateAccessToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="saveAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>saveAccessToken</h4>
<pre>protected&nbsp;void&nbsp;saveAccessToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/ServerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.common">ServerAccessToken</a>&nbsp;serverToken)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#saveAccessToken-org.apache.cxf.rs.security.oauth2.common.ServerAccessToken-">saveAccessToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="saveRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>saveRefreshToken</h4>
<pre>protected&nbsp;void&nbsp;saveRefreshToken(<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&nbsp;refreshToken)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#saveRefreshToken-org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken-">saveRefreshToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">AbstractOAuthDataProvider</a></code></dd>
</dl>
</li>
</ul>
<a name="persistEntity-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persistEntity</h4>
<pre>protected&nbsp;void&nbsp;persistEntity(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;entity)</pre>
</li>
</ul>
<a name="removeEntity-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEntity</h4>
<pre>protected&nbsp;void&nbsp;removeEntity(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;entity)</pre>
</li>
</ul>
<a name="getClientsQuery-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientsQuery</h4>
<pre>protected&nbsp;javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/common/Client.html" title="class in org.apache.cxf.rs.security.oauth2.common">Client</a>&gt;&nbsp;getClientsQuery(<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;entityManager)</pre>
</li>
</ul>
<a name="getTokensQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTokensQuery</h4>
<pre>protected&nbsp;javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/bearer/BearerAccessToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.bearer">BearerAccessToken</a>&gt;&nbsp;getTokensQuery(<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;entityManager)</pre>
</li>
</ul>
<a name="getRefreshTokensQuery-org.apache.cxf.rs.security.oauth2.common.Client-org.apache.cxf.rs.security.oauth2.common.UserSubject-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefreshTokensQuery</h4>
<pre>protected&nbsp;javax.persistence.TypedQuery&lt;<a href="../../../../../../../org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.html" title="class in org.apache.cxf.rs.security.oauth2.tokens.refresh">RefreshToken</a>&gt;&nbsp;getRefreshTokensQuery(<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;entityManager)</pre>
</li>
</ul>
<a name="getEntityManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityManager</h4>
<pre>protected&nbsp;javax.persistence.EntityManager&nbsp;getEntityManager()</pre>
<div class="block">Returns the entityManaged used for the current operation.</div>
</li>
</ul>
<a name="beginIfNeeded-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beginIfNeeded</h4>
<pre>protected&nbsp;javax.persistence.EntityTransaction&nbsp;beginIfNeeded(javax.persistence.EntityManager&nbsp;em)</pre>
<div class="block">Begins the current transaction.
This method needs to be overridden in a CMT environment.</div>
</li>
</ul>
<a name="flushIfNeeded-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flushIfNeeded</h4>
<pre>protected&nbsp;void&nbsp;flushIfNeeded(javax.persistence.EntityManager&nbsp;em)</pre>
<div class="block">Flush the current transaction.</div>
</li>
</ul>
<a name="commitIfNeeded-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commitIfNeeded</h4>
<pre>protected&nbsp;void&nbsp;commitIfNeeded(javax.persistence.EntityManager&nbsp;em)</pre>
<div class="block">Commits the current transaction.
This method needs to be overridden in a CMT environment.</div>
</li>
</ul>
<a name="closeIfNeeded-javax.persistence.EntityManager-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>closeIfNeeded</h4>
<pre>protected&nbsp;void&nbsp;closeIfNeeded(javax.persistence.EntityManager&nbsp;em)</pre>
<div class="block">Closes the current em.
This method needs to be overriden in a CMT environment.</div>
</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/JPAOAuthDataProvider.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/provider/JoseSessionTokenProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.EntityManagerOperation.html" title="interface in org.apache.cxf.rs.security.oauth2.provider"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProvider.html" target="_top">Frames</a></li>
<li><a href="JPAOAuthDataProvider.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.class.summary">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>