blob: e913f3c036b5d9369e07f016b4ca32c354248124 [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>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>DefaultEHCacheCodeDataProvider (Apache CXF JavaDoc 3.1.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultEHCacheCodeDataProvider (Apache CXF JavaDoc 3.1.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultEHCacheCodeDataProvider.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em>Apache CXF API</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/CodeVerifierTransformer.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEncryptingCodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html" target="_top">Frames</a></li>
<li><a href="DefaultEHCacheCodeDataProvider.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&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><a href="#field_detail">Field</a>&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 DefaultEHCacheCodeDataProvider" class="title">Class DefaultEHCacheCodeDataProvider</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/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/DefaultEHCacheOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">org.apache.cxf.rs.security.oauth2.provider.DefaultEHCacheOAuthDataProvider</a></li>
<li>
<ul class="inheritance">
<li>org.apache.cxf.rs.security.oauth2.grants.code.DefaultEHCacheCodeDataProvider</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>
<hr>
<br>
<pre>public class <span class="strong">DefaultEHCacheCodeDataProvider</span>
extends <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">DefaultEHCacheOAuthDataProvider</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">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#CODE_GRANT_CACHE_KEY">CODE_GRANT_CACHE_KEY</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.cxf.rs.security.oauth2.provider.DefaultEHCacheOAuthDataProvider">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">DefaultEHCacheOAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#ACCESS_TOKEN_CACHE_KEY">ACCESS_TOKEN_CACHE_KEY</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#cacheManager">cacheManager</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#CLIENT_CACHE_KEY">CLIENT_CACHE_KEY</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#DEFAULT_CONFIG_URL">DEFAULT_CONFIG_URL</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#REFRESH_TOKEN_CACHE_KEY">REFRESH_TOKEN_CACHE_KEY</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#DefaultEHCacheCodeDataProvider()">DefaultEHCacheCodeDataProvider</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#DefaultEHCacheCodeDataProvider(java.lang.String,%20org.apache.cxf.Bus)">DefaultEHCacheCodeDataProvider</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configFileURL,
<a href="../../../../../../../../org/apache/cxf/Bus.html" title="interface in org.apache.cxf">Bus</a>&nbsp;bus)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#DefaultEHCacheCodeDataProvider(java.lang.String,%20org.apache.cxf.Bus,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)">DefaultEHCacheCodeDataProvider</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configFileURL,
<a href="../../../../../../../../org/apache/cxf/Bus.html" title="interface in org.apache.cxf">Bus</a>&nbsp;bus,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clientCacheKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;codeCacheKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accessTokenKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refreshTokenKey)</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><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><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#createCodeGrant(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">createCodeGrant</a></strong>(<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 <code>Client</code> requesting the access to
the resource owner's resources</div>
</td>
</tr>
<tr 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><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#doCreateCodeGrant(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">doCreateCodeGrant</a></strong>(<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 class="altColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#getApprovedScopes(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">getApprovedScopes</a></strong>(<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 class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#getCode(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">getCode</a></strong>(<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 class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#getGrantLifetime()">getGrantLifetime</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#getIssuedAt()">getIssuedAt</a></strong>()</code>&nbsp;</td>
</tr>
<tr 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><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#removeCodeGrant(java.lang.String)">removeCodeGrant</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&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 class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#saveAuthorizationGrant(org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant)">saveAuthorizationGrant</a></strong>(<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html#setGrantLifetime(long)">setGrantLifetime</a></strong>(long&nbsp;lifetime)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.cxf.rs.security.oauth2.provider.DefaultEHCacheOAuthDataProvider">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cxf.rs.security.oauth2.provider.<a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.provider">DefaultEHCacheOAuthDataProvider</a></h3>
<code><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#createCache(net.sf.ehcache.CacheManager,%20java.lang.String)">createCache</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#getAccessToken(java.lang.String)">getAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#getCacheValue(net.sf.ehcache.Ehcache,%20java.lang.String,%20java.lang.Class)">getCacheValue</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#getClient(java.lang.String)">getClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#getClients()">getClients</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#putCacheValue(net.sf.ehcache.Ehcache,%20java.lang.String,%20java.lang.Object,%20long)">putCacheValue</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#removeAccessToken(org.apache.cxf.rs.security.oauth2.common.ServerAccessToken)">removeAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#removeClient(java.lang.String)">removeClient</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#revokeAccessToken(java.lang.String)">revokeAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#revokeRefreshToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String)">revokeRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#saveAccessToken(org.apache.cxf.rs.security.oauth2.common.ServerAccessToken)">saveAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#saveRefreshToken(org.apache.cxf.rs.security.oauth2.common.ServerAccessToken,%20org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken)">saveRefreshToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/DefaultEHCacheOAuthDataProvider.html#setClient(org.apache.cxf.rs.security.oauth2.common.Client)">setClient</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#convertScopeToPermissions(org.apache.cxf.rs.security.oauth2.common.Client,%20java.util.List)">convertScopeToPermissions</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#createNewAccessToken(org.apache.cxf.rs.security.oauth2.common.Client)">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#doCreateAccessToken(org.apache.cxf.rs.security.oauth2.common.AccessTokenRegistration)">doCreateAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#doRefreshAccessToken(org.apache.cxf.rs.security.oauth2.common.Client,%20org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken,%20java.util.List)">doRefreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#getPreauthorizedToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.util.List,%20org.apache.cxf.rs.security.oauth2.common.UserSubject,%20java.lang.String)">getPreauthorizedToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#refreshAccessToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String,%20java.util.List)">refreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.html#revokeToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String,%20java.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#setRefreshTokenLifetime(long)">setRefreshTokenLifetime</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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
<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,%20java.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#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,%20java.util.List,%20org.apache.cxf.rs.security.oauth2.common.UserSubject,%20java.lang.String)">getPreauthorizedToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#refreshAccessToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String,%20java.util.List)">refreshAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#removeAccessToken(org.apache.cxf.rs.security.oauth2.common.ServerAccessToken)">removeAccessToken</a>, <a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/provider/OAuthDataProvider.html#revokeToken(org.apache.cxf.rs.security.oauth2.common.Client,%20java.lang.String,%20java.lang.String)">revokeToken</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CODE_GRANT_CACHE_KEY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>CODE_GRANT_CACHE_KEY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CODE_GRANT_CACHE_KEY</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.apache.cxf.rs.security.oauth2.grants.code.DefaultEHCacheCodeDataProvider.CODE_GRANT_CACHE_KEY">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultEHCacheCodeDataProvider()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DefaultEHCacheCodeDataProvider</h4>
<pre>protected&nbsp;DefaultEHCacheCodeDataProvider()</pre>
</li>
</ul>
<a name="DefaultEHCacheCodeDataProvider(java.lang.String, org.apache.cxf.Bus)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DefaultEHCacheCodeDataProvider</h4>
<pre>protected&nbsp;DefaultEHCacheCodeDataProvider(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configFileURL,
<a href="../../../../../../../../org/apache/cxf/Bus.html" title="interface in org.apache.cxf">Bus</a>&nbsp;bus)</pre>
</li>
</ul>
<a name="DefaultEHCacheCodeDataProvider(java.lang.String, org.apache.cxf.Bus, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultEHCacheCodeDataProvider</h4>
<pre>protected&nbsp;DefaultEHCacheCodeDataProvider(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configFileURL,
<a href="../../../../../../../../org/apache/cxf/Bus.html" title="interface in org.apache.cxf">Bus</a>&nbsp;bus,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;clientCacheKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;codeCacheKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;accessTokenKey,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;refreshTokenKey)</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"><strong>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></strong></div>
<div class="block">Creates a temporarily code grant which will capture the
information about the <code>Client</code> requesting the access to
the resource owner's resources</div>
<dl>
<dt><strong>Specified by:</strong></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="strong">Parameters:</span></dt><dd><code>reg</code> - information about the client code grant request</dd>
<dt><span class="strong">Returns:</span></dt><dd>new code grant</dd>
<dt><span class="strong">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="strong">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="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="http://docs.oracle.com/javase/7/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"><strong>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></strong></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><strong>Specified by:</strong></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="strong">Parameters:</span></dt><dd><code>code</code> - the code grant</dd>
<dt><span class="strong">Returns:</span></dt><dd>the grant</dd>
<dt><span class="strong">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="strong">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="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="strong">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="getApprovedScopes(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getApprovedScopes</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getApprovedScopes(<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)</pre>
</li>
</ul>
<a name="getCode(org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getCode(<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)</pre>
</li>
</ul>
<a name="getGrantLifetime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGrantLifetime</h4>
<pre>public&nbsp;long&nbsp;getGrantLifetime()</pre>
</li>
</ul>
<a name="setGrantLifetime(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGrantLifetime</h4>
<pre>public&nbsp;void&nbsp;setGrantLifetime(long&nbsp;lifetime)</pre>
</li>
</ul>
<a name="getIssuedAt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIssuedAt</h4>
<pre>protected&nbsp;long&nbsp;getIssuedAt()</pre>
</li>
</ul>
<a name="saveAuthorizationGrant(org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>saveAuthorizationGrant</h4>
<pre>protected&nbsp;void&nbsp;saveAuthorizationGrant(<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>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultEHCacheCodeDataProvider.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em>Apache CXF API</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/CodeVerifierTransformer.html" title="interface in org.apache.cxf.rs.security.oauth2.grants.code"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../../../org/apache/cxf/rs/security/oauth2/grants/code/DefaultEncryptingCodeDataProvider.html" title="class in org.apache.cxf.rs.security.oauth2.grants.code"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../../index.html?org/apache/cxf/rs/security/oauth2/grants/code/DefaultEHCacheCodeDataProvider.html" target="_top">Frames</a></li>
<li><a href="DefaultEHCacheCodeDataProvider.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&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><a href="#field_detail">Field</a>&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>