Modified: axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.html (original) +++ axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.html Mon Jan 18 23:07:55 2016 @@ -1 +1 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>TokenRequestDispatcherConfig</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="right"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Coverage Report</a> > <a href="index.html" class="el_package">org.apache.rahas</a> > <span class="el_class">TokenRequestDispatcherConfig</span></div><h1>TokenRequestDispatcherConfig</h1><table class="coverage" cellspacing="0" id="coveragetab le"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">333 of 852</td><td class="ctr2">61%</td><td class="bar">45 of 98</td><td class="ctr2">54%</td><td class="ctr1">44</td><td class="ctr 2">70</td><td class="ctr1">63</td><td class="ctr2">191</td><td class="ctr1">7</td><td class="ctr2">21</td></tr></tfoot><tbody><tr><td id="a11"><a href="TokenRequestDispatcherConfig.java.html#L351" class="el_method">getValidator(String)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="37" height="10" title="33" alt="33"/></td><td class="ctr2" id="c14">0%</td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="24" height="10" title="4" alt="4"/></td><td class="ctr2" id="e8">0%</td><td class="ctr1" id="f4">3</td><td class="ctr2" id="g4">3</td><td class="ctr1" id="h0">8</td><td class="ctr2" id="i6">8</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a10"><a href="TokenRequestDispatcherConfig.java.html#L369" class="el_method">getRenewer(String)</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="37" height="10" title="33" alt="33"/></td><td class="ctr2" id="c15">0%</td><td class="bar" id="d5" ><img src="../.resources/redbar.gif" width="24" height="10" title="4" >alt="4"/></td><td class="ctr2" id="e9">0%</td><td class="ctr1" >id="f5">3</td><td class="ctr2" id="g5">3</td><td class="ctr1" >id="h1">8</td><td class="ctr2" id="i7">8</td><td class="ctr1" >id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a >href="TokenRequestDispatcherConfig.java.html#L409" >class="el_method">createValidator(String)</a></td><td class="bar" >id="b2"><img src="../.resources/redbar.gif" width="35" height="10" title="31" >alt="31"/></td><td class="ctr2" id="c16">0%</td><td class="bar" id="d13"/><td >class="ctr2" id="e13">n/a</td><td class="ctr1" id="f10">1</td><td >class="ctr2" id="g13">1</td><td class="ctr1" id="h2">5</td><td class="ctr2" >id="i11">5</td><td class="ctr1" id="j2">1</td><td class="ctr2" >id="k2">1</td></tr><tr><td id="a2"><a >href="TokenRequestDispatcherConfig.java.html#L418" >class="el_method">createRenewer(String)</a></td><td class="bar" id="b3"><img >src="../.resources/redbar.g if" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c17">0%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f11">1</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h3">5</td><td class="ctr2" id="i12">5</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a15"><a href="TokenRequestDispatcherConfig.java.html#L149" class="el_method">handleValidators(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="28" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="91" height="10" title="81" alt="81"/></td><td class="ctr2" id="c8">76%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="48" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="72" height="10" title="12" alt="12"/></td><td class="ctr2" id="e3">60%</td><td class="ctr1" id="f0">8</td><td class="ctr2" id="g0"> 11</td><td class="ctr1" id="h8">3</td><td class="ctr2" id="i0">25</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a14"><a href="TokenRequestDispatcherConfig.java.html#L195" class="el_method">handleRenewers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="28" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="91" height="10" title="81" alt="81"/></td><td class="ctr2" id="c9">76%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="48" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="72" height="10" title="12" alt="12"/></td><td class="ctr2" id="e4">60%</td><td class="ctr1" id="f1">8</td><td class="ctr2" id="g1">11</td><td class="ctr1" id="h9">3</td><td class="ctr2" id="i1">25</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a5"><a href="TokenRequestDispatcherConfig.java.html#L275 " class="el_method">getDefaultIssuerInstace()</a></td><td class="bar" id="b6"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c18">0%</td><td class="bar" id="d7"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e10">0%</td><td class="ctr1" id="f6">2</td><td class="ctr2" id="g9">2</td><td class="ctr1" id="h4">5</td><td class="ctr2" id="i13">5</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a8"><a href="TokenRequestDispatcherConfig.java.html#L301" class="el_method">getDefaultValidatorInstance()</a></td><td class="bar" id="b7"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c19">0%</td><td class="bar" id="d8"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e11">0%</td><td class="ctr1" id="f7">2</td><td class="ctr2" id="g10">2</t d><td class="ctr1" id="h5">5</td><td class="ctr2" id="i14">5</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a7"><a href="TokenRequestDispatcherConfig.java.html#L314" class="el_method">getDefaultRenewerInstance()</a></td><td class="bar" id="b8"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c20">0%</td><td class="bar" id="d9"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e12">0%</td><td class="ctr1" id="f8">2</td><td class="ctr2" id="g11">2</td><td class="ctr1" id="h6">5</td><td class="ctr2" id="i15">5</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a18"><a href="TokenRequestDispatcherConfig.java.html#L242" class="el_method">processConfiguration(OMElement, TokenRequestDispatcherConfig, String)</a></td><td class="bar" id="b9"><img src="../.resources/redbar.gif" width="21" height="10" title="19" alt=" 19"/><img src="../.resources/greenbar.gif" width="46" height="10" title="41" alt="41"/></td><td class="ctr2" id="c10">68%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="30" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="30" height="10" title="5" alt="5"/></td><td class="ctr2" id="e5">50%</td><td class="ctr1" id="f3">4</td><td class="ctr2" id="g3">6</td><td class="ctr1" id="h7">4</td><td class="ctr2" id="i3">14</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a9"><a href="TokenRequestDispatcherConfig.java.html#L333" class="el_method">getIssuer(String)</a></td><td class="bar" id="b10"><img src="../.resources/redbar.gif" width="18" height="10" title="16" alt="16"/><img src="../.resources/greenbar.gif" width="19" height="10" title="17" alt="17"/></td><td class="ctr2" id="c12">52%</td><td class="bar" id="d6"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/><img src="../.res ources/greenbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e6">50%</td><td class="ctr1" id="f9">2</td><td class="ctr2" id="g6">3</td><td class="ctr1" id="h10">3</td><td class="ctr2" id="i8">8</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a4"><a href="TokenRequestDispatcherConfig.java.html#L288" class="el_method">getDefaultCancelerInstance()</a></td><td class="bar" id="b11"><img src="../.resources/redbar.gif" width="18" height="10" title="16" alt="16"/><img src="../.resources/greenbar.gif" width="9" height="10" title="8" alt="8"/></td><td class="ctr2" id="c13">33%</td><td class="bar" id="d12"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="6" height="10" title="1" alt="1"/></td><td class="ctr2" id="e7">50%</td><td class="ctr1" id="f12">1</td><td class="ctr2" id="g12">2</td><td class="ctr1" id="h11">3</td><td class="ctr2" id="i16">5</td><td cla ss="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a17"><a href="TokenRequestDispatcherConfig.java.html#L266" class="el_method">load(String)</a></td><td class="bar" id="b12"><img src="../.resources/redbar.gif" width="13" height="10" title="12" alt="12"/><img src="../.resources/greenbar.gif" width="16" height="10" title="15" alt="15"/></td><td class="ctr2" id="c11">56%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h12">2</td><td class="ctr2" id="i10">6</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a13"><a href="TokenRequestDispatcherConfig.java.html#L103" class="el_method">handleIssuers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b13"><img src="../.resources/redbar.gif" width="11" height="10" title="10" alt="10"/><img src="../.resources/greenbar.gif" width="108" height="10" title="96" alt="96"/></ td><td class="ctr2" id="c5">91%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="30" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="90" height="10" title="15" alt="15"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f2">5</td><td class="ctr2" id="g2">11</td><td class="ctr1" id="h13">2</td><td class="ctr2" id="i2">25</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a16"><a href="TokenRequestDispatcherConfig.java.html#L58" class="el_method">load(OMElement)</a></td><td class="bar" id="b14"><img src="../.resources/redbar.gif" width="5" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c6">86%</td><td class="bar" id="d10"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="18" height="10" title="3" alt="3"/></td><td class="ctr2" id="e 1">75%</td><td class="ctr1" id="f13">1</td><td class="ctr2" id="g7">3</td><td class="ctr1" id="h14">1</td><td class="ctr2" id="i4">10</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a12"><a href="TokenRequestDispatcherConfig.java.html#L87" class="el_method">handleCancelers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b15"><img src="../.resources/redbar.gif" width="5" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="22" height="10" title="20" alt="20"/></td><td class="ctr2" id="c7">80%</td><td class="bar" id="d11"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="18" height="10" title="3" alt="3"/></td><td class="ctr2" id="e2">75%</td><td class="ctr1" id="f14">1</td><td class="ctr2" id="g8">3</td><td class="ctr1" id="h15">1</td><td class="ctr2" id="i9">8</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr> <tr><td id="a19"><a href="TokenRequestDispatcherConfig.java.html#L34" class="el_method">static {...}</a></td><td class="bar" id="b16"><img src="../.resources/greenbar.gif" width="52" height="10" title="46" alt="46"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i5">9</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a1"><a href="TokenRequestDispatcherConfig.java.html#L391" class="el_method">createIssuer(String)</a></td><td class="bar" id="b17"><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i17">5</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a0"><a href="TokenRequestDispatcherConfig.java.html#L400" class="el_method">createCanceler(String)</a></td><td class="bar" id="b18"><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g18">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i18">5</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a20"><a href="TokenRequestDispatcherConfig.java.html#L29" class="el_method">TokenRequestDispatcherConfig()</a></td><td class="bar" id="b19"><img src="../.resources/greenbar.gif" width="20" height="10" title="18" alt="18"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h19">0</td><td class="c tr2" id="i19">4</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr><tr><td id="a6"><a href="TokenRequestDispatcherConfig.java.html#L328" class="el_method">getDefaultIssuerName()</a></td><td class="bar" id="b20"><img src="../.resources/greenbar.gif" width="3" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d20"/><td class="ctr2" id="e20">n/a</td><td class="ctr1" id="f20">0</td><td class="ctr2" id="g20">1</td><td class="ctr1" id="h20">0</td><td class="ctr2" id="i20">1</td><td class="ctr1" id="j20">0</td><td class="ctr2" id="k20">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.6.1.201212231917</span></div></body></html> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>TokenRequestDispatcherConfig</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="right"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Coverage Report</a> > <a href="index.html" class="el_package">org.apache.rahas</a> > <span class="el_class">TokenRequestDispatcherConfig</span></div><h1>TokenRequestDispatcherConfig</h1><table class="coverage" cellspacing="0" id="coveragetab le"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">334 of 851</td><td class="ctr2">61%</td><td class="bar">45 of 98</td><td class="ctr2">54%</td><td class="ctr1">44</td><td class="ctr 2">70</td><td class="ctr1">63</td><td class="ctr2">191</td><td class="ctr1">7</td><td class="ctr2">21</td></tr></tfoot><tbody><tr><td id="a11"><a href="TokenRequestDispatcherConfig.java.html#L352" class="el_method">getValidator(String)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="37" height="10" title="33" alt="33"/></td><td class="ctr2" id="c14">0%</td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="24" height="10" title="4" alt="4"/></td><td class="ctr2" id="e8">0%</td><td class="ctr1" id="f4">3</td><td class="ctr2" id="g4">3</td><td class="ctr1" id="h0">8</td><td class="ctr2" id="i6">8</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a10"><a href="TokenRequestDispatcherConfig.java.html#L370" class="el_method">getRenewer(String)</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="37" height="10" title="33" alt="33"/></td><td class="ctr2" id="c15">0%</td><td class="bar" id="d5" ><img src="../.resources/redbar.gif" width="24" height="10" title="4" >alt="4"/></td><td class="ctr2" id="e9">0%</td><td class="ctr1" >id="f5">3</td><td class="ctr2" id="g5">3</td><td class="ctr1" >id="h1">8</td><td class="ctr2" id="i7">8</td><td class="ctr1" >id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a >href="TokenRequestDispatcherConfig.java.html#L410" >class="el_method">createValidator(String)</a></td><td class="bar" >id="b2"><img src="../.resources/redbar.gif" width="35" height="10" title="31" >alt="31"/></td><td class="ctr2" id="c16">0%</td><td class="bar" id="d13"/><td >class="ctr2" id="e13">n/a</td><td class="ctr1" id="f10">1</td><td >class="ctr2" id="g13">1</td><td class="ctr1" id="h2">5</td><td class="ctr2" >id="i11">5</td><td class="ctr1" id="j2">1</td><td class="ctr2" >id="k2">1</td></tr><tr><td id="a2"><a >href="TokenRequestDispatcherConfig.java.html#L419" >class="el_method">createRenewer(String)</a></td><td class="bar" id="b3"><img >src="../.resources/redbar.g if" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c17">0%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f11">1</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h3">5</td><td class="ctr2" id="i12">5</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a15"><a href="TokenRequestDispatcherConfig.java.html#L150" class="el_method">handleValidators(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="28" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="91" height="10" title="81" alt="81"/></td><td class="ctr2" id="c8">76%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="48" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="72" height="10" title="12" alt="12"/></td><td class="ctr2" id="e3">60%</td><td class="ctr1" id="f0">8</td><td class="ctr2" id="g0"> 11</td><td class="ctr1" id="h8">3</td><td class="ctr2" id="i0">25</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a14"><a href="TokenRequestDispatcherConfig.java.html#L196" class="el_method">handleRenewers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="28" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="91" height="10" title="81" alt="81"/></td><td class="ctr2" id="c9">76%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="48" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="72" height="10" title="12" alt="12"/></td><td class="ctr2" id="e4">60%</td><td class="ctr1" id="f1">8</td><td class="ctr2" id="g1">11</td><td class="ctr1" id="h9">3</td><td class="ctr2" id="i1">25</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a5"><a href="TokenRequestDispatcherConfig.java.html#L276 " class="el_method">getDefaultIssuerInstace()</a></td><td class="bar" id="b6"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c18">0%</td><td class="bar" id="d7"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e10">0%</td><td class="ctr1" id="f6">2</td><td class="ctr2" id="g9">2</td><td class="ctr1" id="h4">5</td><td class="ctr2" id="i13">5</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a8"><a href="TokenRequestDispatcherConfig.java.html#L302" class="el_method">getDefaultValidatorInstance()</a></td><td class="bar" id="b7"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c19">0%</td><td class="bar" id="d8"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e11">0%</td><td class="ctr1" id="f7">2</td><td class="ctr2" id="g10">2</t d><td class="ctr1" id="h5">5</td><td class="ctr2" id="i14">5</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a7"><a href="TokenRequestDispatcherConfig.java.html#L315" class="el_method">getDefaultRenewerInstance()</a></td><td class="bar" id="b8"><img src="../.resources/redbar.gif" width="27" height="10" title="24" alt="24"/></td><td class="ctr2" id="c20">0%</td><td class="bar" id="d9"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e12">0%</td><td class="ctr1" id="f8">2</td><td class="ctr2" id="g11">2</td><td class="ctr1" id="h6">5</td><td class="ctr2" id="i15">5</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a18"><a href="TokenRequestDispatcherConfig.java.html#L243" class="el_method">processConfiguration(OMElement, TokenRequestDispatcherConfig, String)</a></td><td class="bar" id="b9"><img src="../.resources/redbar.gif" width="21" height="10" title="19" alt=" 19"/><img src="../.resources/greenbar.gif" width="46" height="10" title="41" alt="41"/></td><td class="ctr2" id="c10">68%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="30" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="30" height="10" title="5" alt="5"/></td><td class="ctr2" id="e5">50%</td><td class="ctr1" id="f3">4</td><td class="ctr2" id="g3">6</td><td class="ctr1" id="h7">4</td><td class="ctr2" id="i3">14</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a9"><a href="TokenRequestDispatcherConfig.java.html#L334" class="el_method">getIssuer(String)</a></td><td class="bar" id="b10"><img src="../.resources/redbar.gif" width="18" height="10" title="16" alt="16"/><img src="../.resources/greenbar.gif" width="19" height="10" title="17" alt="17"/></td><td class="ctr2" id="c11">52%</td><td class="bar" id="d6"><img src="../.resources/redbar.gif" width="12" height="10" title="2" alt="2"/><img src="../.res ources/greenbar.gif" width="12" height="10" title="2" alt="2"/></td><td class="ctr2" id="e6">50%</td><td class="ctr1" id="f9">2</td><td class="ctr2" id="g6">3</td><td class="ctr1" id="h10">3</td><td class="ctr2" id="i8">8</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a4"><a href="TokenRequestDispatcherConfig.java.html#L289" class="el_method">getDefaultCancelerInstance()</a></td><td class="bar" id="b11"><img src="../.resources/redbar.gif" width="18" height="10" title="16" alt="16"/><img src="../.resources/greenbar.gif" width="9" height="10" title="8" alt="8"/></td><td class="ctr2" id="c13">33%</td><td class="bar" id="d12"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="6" height="10" title="1" alt="1"/></td><td class="ctr2" id="e7">50%</td><td class="ctr1" id="f12">1</td><td class="ctr2" id="g12">2</td><td class="ctr1" id="h11">3</td><td class="ctr2" id="i16">5</td><td cla ss="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a17"><a href="TokenRequestDispatcherConfig.java.html#L267" class="el_method">load(String)</a></td><td class="bar" id="b12"><img src="../.resources/redbar.gif" width="14" height="10" title="13" alt="13"/><img src="../.resources/greenbar.gif" width="14" height="10" title="13" alt="13"/></td><td class="ctr2" id="c12">50%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h12">2</td><td class="ctr2" id="i10">6</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a13"><a href="TokenRequestDispatcherConfig.java.html#L104" class="el_method">handleIssuers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b13"><img src="../.resources/redbar.gif" width="11" height="10" title="10" alt="10"/><img src="../.resources/greenbar.gif" width="108" height="10" title="96" alt="96"/></ td><td class="ctr2" id="c5">91%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="30" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="90" height="10" title="15" alt="15"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f2">5</td><td class="ctr2" id="g2">11</td><td class="ctr1" id="h13">2</td><td class="ctr2" id="i2">25</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a16"><a href="TokenRequestDispatcherConfig.java.html#L59" class="el_method">load(OMElement)</a></td><td class="bar" id="b14"><img src="../.resources/redbar.gif" width="5" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c6">86%</td><td class="bar" id="d10"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="18" height="10" title="3" alt="3"/></td><td class="ctr2" id="e 1">75%</td><td class="ctr1" id="f13">1</td><td class="ctr2" id="g7">3</td><td class="ctr1" id="h14">1</td><td class="ctr2" id="i4">10</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a12"><a href="TokenRequestDispatcherConfig.java.html#L88" class="el_method">handleCancelers(OMElement, TokenRequestDispatcherConfig)</a></td><td class="bar" id="b15"><img src="../.resources/redbar.gif" width="5" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="22" height="10" title="20" alt="20"/></td><td class="ctr2" id="c7">80%</td><td class="bar" id="d11"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="18" height="10" title="3" alt="3"/></td><td class="ctr2" id="e2">75%</td><td class="ctr1" id="f14">1</td><td class="ctr2" id="g8">3</td><td class="ctr1" id="h15">1</td><td class="ctr2" id="i9">8</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr> <tr><td id="a19"><a href="TokenRequestDispatcherConfig.java.html#L35" class="el_method">static {...}</a></td><td class="bar" id="b16"><img src="../.resources/greenbar.gif" width="52" height="10" title="46" alt="46"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i5">9</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a1"><a href="TokenRequestDispatcherConfig.java.html#L392" class="el_method">createIssuer(String)</a></td><td class="bar" id="b17"><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i17">5</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a0"><a href="TokenRequestDispatcherConfig.java.html#L401" class="el_method">createCanceler(String)</a></td><td class="bar" id="b18"><img src="../.resources/greenbar.gif" width="35" height="10" title="31" alt="31"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g18">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i18">5</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a20"><a href="TokenRequestDispatcherConfig.java.html#L30" class="el_method">TokenRequestDispatcherConfig()</a></td><td class="bar" id="b19"><img src="../.resources/greenbar.gif" width="20" height="10" title="18" alt="18"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h19">0</td><td class="c tr2" id="i19">4</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr><tr><td id="a6"><a href="TokenRequestDispatcherConfig.java.html#L329" class="el_method">getDefaultIssuerName()</a></td><td class="bar" id="b20"><img src="../.resources/greenbar.gif" width="3" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d20"/><td class="ctr2" id="e20">n/a</td><td class="ctr1" id="f20">0</td><td class="ctr2" id="g20">1</td><td class="ctr1" id="h20">0</td><td class="ctr2" id="i20">1</td><td class="ctr1" id="j20">0</td><td class="ctr2" id="k20">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.6.1.201212231917</span></div></body></html> \ No newline at end of file
Modified: axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.java.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.java.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.java.html (original) +++ axis/site/axis2/java/rampart-staging/code-coverage/org.apache.rahas/TokenRequestDispatcherConfig.java.html Mon Jan 18 23:07:55 2016 @@ -17,7 +17,8 @@ package org.apache.rahas; import org.apache.axiom.om.OMElement; -import org.apache.axiom.om.impl.builder.StAXOMBuilder; +import org.apache.axiom.om.OMXMLBuilderFactory; +import org.apache.axiom.om.OMXMLParserWrapper; import org.apache.ws.security.util.Loader; import javax.xml.namespace.QName; @@ -26,27 +27,27 @@ import java.util.Hashtable; import java.util.Iterator; import java.util.Map; -<span class="fc" id="L29">public class TokenRequestDispatcherConfig {</span> +<span class="fc" id="L30">public class TokenRequestDispatcherConfig {</span> public final static String CONFIG_PARAM_KEY = "token-dispatcher-configuration"; public final static String CONFIG_FILE_KEY = "token-dispatcher-configuration-file"; -<span class="fc" id="L34"> private final static QName DISPATCHER_CONFIG = new QName("token-dispatcher-configuration");</span> -<span class="fc" id="L35"> private final static QName ISSUER = new QName("issuer");</span> -<span class="fc" id="L36"> private final static QName CANCELER = new QName("canceler");</span> -<span class="fc" id="L37"> private final static QName VALIDATOR = new QName("validator");</span> -<span class="fc" id="L38"> private final static QName RENEWER = new QName("renewer");</span> -<span class="fc" id="L39"> private final static QName TOKEN_TYPE = new QName("tokenType");</span> -<span class="fc" id="L40"> private final static QName CLASS_ATTR = new QName("class");</span> -<span class="fc" id="L41"> private final static QName DEFAULT_ATTR = new QName("default");</span> -<span class="fc" id="L42"> private final static QName CONFIGURATION_ELEMENT = new QName("configuration");</span> +<span class="fc" id="L35"> private final static QName DISPATCHER_CONFIG = new QName("token-dispatcher-configuration");</span> +<span class="fc" id="L36"> private final static QName ISSUER = new QName("issuer");</span> +<span class="fc" id="L37"> private final static QName CANCELER = new QName("canceler");</span> +<span class="fc" id="L38"> private final static QName VALIDATOR = new QName("validator");</span> +<span class="fc" id="L39"> private final static QName RENEWER = new QName("renewer");</span> +<span class="fc" id="L40"> private final static QName TOKEN_TYPE = new QName("tokenType");</span> +<span class="fc" id="L41"> private final static QName CLASS_ATTR = new QName("class");</span> +<span class="fc" id="L42"> private final static QName DEFAULT_ATTR = new QName("default");</span> +<span class="fc" id="L43"> private final static QName CONFIGURATION_ELEMENT = new QName("configuration");</span> private Map issuers; private Map validators; private Map renewers; -<span class="fc" id="L47"> private Map configFiles = new Hashtable();</span> -<span class="fc" id="L48"> private Map configElements = new Hashtable();</span> -<span class="fc" id="L49"> private Map configParamNames = new Hashtable();</span> +<span class="fc" id="L48"> private Map configFiles = new Hashtable();</span> +<span class="fc" id="L49"> private Map configElements = new Hashtable();</span> +<span class="fc" id="L50"> private Map configParamNames = new Hashtable();</span> private String defaultIssuerClassName; private String defaultCancelerClassName; @@ -55,330 +56,330 @@ import java.util.Map; public static TokenRequestDispatcherConfig load(OMElement configElem) throws TrustException { -<span class="pc bpc" id="L58" title="1 of 2 branches missed."> if (!DISPATCHER_CONFIG.equals(configElem.getQName())) {</span> -<span class="nc" id="L59"> throw new TrustException("incorrectConfiguration");</span> +<span class="pc bpc" id="L59" title="1 of 2 branches missed."> if (!DISPATCHER_CONFIG.equals(configElem.getQName())) {</span> +<span class="nc" id="L60"> throw new TrustException("incorrectConfiguration");</span> } -<span class="fc" id="L61"> TokenRequestDispatcherConfig conf = new TokenRequestDispatcherConfig();</span> +<span class="fc" id="L62"> TokenRequestDispatcherConfig conf = new TokenRequestDispatcherConfig();</span> // Issuers -<span class="fc" id="L64"> handleIssuers(configElem, conf);</span> +<span class="fc" id="L65"> handleIssuers(configElem, conf);</span> //Validators -<span class="fc" id="L67"> handleValidators(configElem, conf);</span> +<span class="fc" id="L68"> handleValidators(configElem, conf);</span> //Renewers -<span class="fc" id="L70"> handleRenewers(configElem, conf);</span> +<span class="fc" id="L71"> handleRenewers(configElem, conf);</span> // Cancelers -<span class="fc" id="L73"> handleCancelers(configElem, conf);</span> +<span class="fc" id="L74"> handleCancelers(configElem, conf);</span> //There must be a defulat issuer -<span class="fc bfc" id="L78" title="All 2 branches covered."> if (conf.defaultIssuerClassName == null) {</span> -<span class="fc" id="L79"> throw new TrustException("defaultIssuerMissing");</span> +<span class="fc bfc" id="L79" title="All 2 branches covered."> if (conf.defaultIssuerClassName == null) {</span> +<span class="fc" id="L80"> throw new TrustException("defaultIssuerMissing");</span> } -<span class="fc" id="L81"> return conf;</span> +<span class="fc" id="L82"> return conf;</span> } private static void handleCancelers(OMElement configElem, TokenRequestDispatcherConfig conf) throws TrustException { -<span class="fc" id="L87"> OMElement cancelerEle = configElem.getFirstChildWithName(CANCELER); // support only one canceler</span> -<span class="fc bfc" id="L88" title="All 2 branches covered."> if (cancelerEle != null) {</span> +<span class="fc" id="L88"> OMElement cancelerEle = configElem.getFirstChildWithName(CANCELER); // support only one canceler</span> +<span class="fc bfc" id="L89" title="All 2 branches covered."> if (cancelerEle != null) {</span> //get the class attr -<span class="fc" id="L90"> String cancelerClass = cancelerEle.getAttributeValue(CLASS_ATTR);</span> -<span class="pc bpc" id="L91" title="1 of 2 branches missed."> if (cancelerClass == null) {</span> -<span class="nc" id="L92"> throw new TrustException("missingClassName");</span> +<span class="fc" id="L91"> String cancelerClass = cancelerEle.getAttributeValue(CLASS_ATTR);</span> +<span class="pc bpc" id="L92" title="1 of 2 branches missed."> if (cancelerClass == null) {</span> +<span class="nc" id="L93"> throw new TrustException("missingClassName");</span> } -<span class="fc" id="L94"> conf.defaultCancelerClassName = cancelerClass;</span> -<span class="fc" id="L95"> processConfiguration(cancelerEle, conf, cancelerClass);</span> +<span class="fc" id="L95"> conf.defaultCancelerClassName = cancelerClass;</span> +<span class="fc" id="L96"> processConfiguration(cancelerEle, conf, cancelerClass);</span> } //TODO: imple -<span class="fc" id="L99"> }</span> +<span class="fc" id="L100"> }</span> private static void handleIssuers(OMElement configElem, TokenRequestDispatcherConfig conf) throws TrustException { -<span class="fc" id="L103"> for (Iterator issuerElems = configElem.getChildrenWithName(ISSUER);</span> -<span class="fc bfc" id="L104" title="All 2 branches covered."> issuerElems.hasNext();) {</span> +<span class="fc" id="L104"> for (Iterator issuerElems = configElem.getChildrenWithName(ISSUER);</span> +<span class="fc bfc" id="L105" title="All 2 branches covered."> issuerElems.hasNext();) {</span> -<span class="fc" id="L106"> OMElement element = (OMElement) issuerElems.next();</span> +<span class="fc" id="L107"> OMElement element = (OMElement) issuerElems.next();</span> //get the class attr -<span class="fc" id="L109"> String issuerClass = element.getAttributeValue(CLASS_ATTR);</span> -<span class="pc bpc" id="L110" title="1 of 2 branches missed."> if (issuerClass == null) {</span> -<span class="nc" id="L111"> throw new TrustException("missingClassName");</span> +<span class="fc" id="L110"> String issuerClass = element.getAttributeValue(CLASS_ATTR);</span> +<span class="pc bpc" id="L111" title="1 of 2 branches missed."> if (issuerClass == null) {</span> +<span class="nc" id="L112"> throw new TrustException("missingClassName");</span> } -<span class="fc" id="L113"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> -<span class="pc bpc" id="L114" title="1 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> +<span class="fc" id="L114"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> +<span class="pc bpc" id="L115" title="1 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> //Use the first default issuer as the default isser -<span class="pc bpc" id="L116" title="1 of 2 branches missed."> if (conf.defaultIssuerClassName == null) {</span> -<span class="fc" id="L117"> conf.defaultIssuerClassName = issuerClass;</span> +<span class="pc bpc" id="L117" title="1 of 2 branches missed."> if (conf.defaultIssuerClassName == null) {</span> +<span class="fc" id="L118"> conf.defaultIssuerClassName = issuerClass;</span> } else { -<span class="nc" id="L119"> throw new TrustException("badDispatcherConfigMultipleDefaultIssuers");</span> +<span class="nc" id="L120"> throw new TrustException("badDispatcherConfigMultipleDefaultIssuers");</span> } } -<span class="fc" id="L123"> processConfiguration(element, conf, issuerClass);</span> +<span class="fc" id="L124"> processConfiguration(element, conf, issuerClass);</span> //Process token types -<span class="fc" id="L126"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> -<span class="fc bfc" id="L127" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> -<span class="fc" id="L128"> OMElement type = (OMElement) tokenTypes.next();</span> -<span class="fc" id="L129"> String value = type.getText();</span> -<span class="pc bpc" id="L130" title="1 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> -<span class="fc" id="L131"> throw new TrustException("invalidTokenTypeDefinition",</span> +<span class="fc" id="L127"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> +<span class="fc bfc" id="L128" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> +<span class="fc" id="L129"> OMElement type = (OMElement) tokenTypes.next();</span> +<span class="fc" id="L130"> String value = type.getText();</span> +<span class="pc bpc" id="L131" title="1 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> +<span class="fc" id="L132"> throw new TrustException("invalidTokenTypeDefinition",</span> new String[]{"Issuer", issuerClass}); } -<span class="fc bfc" id="L134" title="All 2 branches covered."> if (conf.issuers == null) {</span> -<span class="fc" id="L135"> conf.issuers = new Hashtable();</span> +<span class="fc bfc" id="L135" title="All 2 branches covered."> if (conf.issuers == null) {</span> +<span class="fc" id="L136"> conf.issuers = new Hashtable();</span> } //If the token type is not already declared then add it to the //table with the issuer classname -<span class="pc bpc" id="L139" title="1 of 2 branches missed."> if (!conf.issuers.keySet().contains(value)) {</span> -<span class="fc" id="L140"> conf.issuers.put(value, issuerClass);</span> +<span class="pc bpc" id="L140" title="1 of 2 branches missed."> if (!conf.issuers.keySet().contains(value)) {</span> +<span class="fc" id="L141"> conf.issuers.put(value, issuerClass);</span> } -<span class="fc" id="L142"> }</span> -<span class="fc" id="L143"> }</span> -<span class="fc" id="L144"> }</span> +<span class="fc" id="L143"> }</span> +<span class="fc" id="L144"> }</span> +<span class="fc" id="L145"> }</span> private static void handleValidators(OMElement configElem, TokenRequestDispatcherConfig conf) throws TrustException { -<span class="fc" id="L149"> for (Iterator validatorElems = configElem.getChildrenWithName(VALIDATOR);</span> -<span class="fc bfc" id="L150" title="All 2 branches covered."> validatorElems.hasNext();) {</span> +<span class="fc" id="L150"> for (Iterator validatorElems = configElem.getChildrenWithName(VALIDATOR);</span> +<span class="fc bfc" id="L151" title="All 2 branches covered."> validatorElems.hasNext();) {</span> -<span class="fc" id="L152"> OMElement element = (OMElement) validatorElems.next();</span> +<span class="fc" id="L153"> OMElement element = (OMElement) validatorElems.next();</span> //get the class attr -<span class="fc" id="L155"> String validatorClass = element.getAttributeValue(CLASS_ATTR);</span> -<span class="pc bpc" id="L156" title="1 of 2 branches missed."> if (validatorClass == null) {</span> -<span class="nc" id="L157"> throw new TrustException("missingClassName");</span> +<span class="fc" id="L156"> String validatorClass = element.getAttributeValue(CLASS_ATTR);</span> +<span class="pc bpc" id="L157" title="1 of 2 branches missed."> if (validatorClass == null) {</span> +<span class="nc" id="L158"> throw new TrustException("missingClassName");</span> } -<span class="fc" id="L159"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> -<span class="pc bpc" id="L160" title="2 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> +<span class="fc" id="L160"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> +<span class="pc bpc" id="L161" title="2 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> //Use the first default issuer as the default isser -<span class="pc bpc" id="L162" title="1 of 2 branches missed."> if (conf.defaultValidatorClassName == null) {</span> -<span class="fc" id="L163"> conf.defaultValidatorClassName = validatorClass;</span> +<span class="pc bpc" id="L163" title="1 of 2 branches missed."> if (conf.defaultValidatorClassName == null) {</span> +<span class="fc" id="L164"> conf.defaultValidatorClassName = validatorClass;</span> } else { -<span class="nc" id="L165"> throw new TrustException("badDispatcherConfigMultipleDefaultValidators");</span> +<span class="nc" id="L166"> throw new TrustException("badDispatcherConfigMultipleDefaultValidators");</span> } } -<span class="fc" id="L169"> processConfiguration(element, conf, validatorClass);</span> +<span class="fc" id="L170"> processConfiguration(element, conf, validatorClass);</span> //Process token types -<span class="fc" id="L172"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> -<span class="fc bfc" id="L173" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> -<span class="fc" id="L174"> OMElement type = (OMElement) tokenTypes.next();</span> -<span class="fc" id="L175"> String value = type.getText();</span> -<span class="pc bpc" id="L176" title="2 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> -<span class="nc" id="L177"> throw new TrustException("invalidTokenTypeDefinition",</span> +<span class="fc" id="L173"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> +<span class="fc bfc" id="L174" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> +<span class="fc" id="L175"> OMElement type = (OMElement) tokenTypes.next();</span> +<span class="fc" id="L176"> String value = type.getText();</span> +<span class="pc bpc" id="L177" title="2 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> +<span class="nc" id="L178"> throw new TrustException("invalidTokenTypeDefinition",</span> new String[]{"Validator", validatorClass}); } -<span class="pc bpc" id="L180" title="1 of 2 branches missed."> if (conf.validators == null) {</span> -<span class="fc" id="L181"> conf.validators = new Hashtable();</span> +<span class="pc bpc" id="L181" title="1 of 2 branches missed."> if (conf.validators == null) {</span> +<span class="fc" id="L182"> conf.validators = new Hashtable();</span> } //If the token type is not already declared then add it to the //table with the validator classname -<span class="pc bpc" id="L185" title="1 of 2 branches missed."> if (!conf.validators.keySet().contains(value)) {</span> -<span class="fc" id="L186"> conf.validators.put(value, validatorClass);</span> +<span class="pc bpc" id="L186" title="1 of 2 branches missed."> if (!conf.validators.keySet().contains(value)) {</span> +<span class="fc" id="L187"> conf.validators.put(value, validatorClass);</span> } -<span class="fc" id="L188"> }</span> -<span class="fc" id="L189"> } </span> -<span class="fc" id="L190"> }</span> +<span class="fc" id="L189"> }</span> +<span class="fc" id="L190"> } </span> +<span class="fc" id="L191"> }</span> private static void handleRenewers(OMElement configElem, TokenRequestDispatcherConfig conf) throws TrustException { -<span class="fc" id="L195"> for (Iterator renewerElems = configElem.getChildrenWithName(RENEWER);</span> -<span class="fc bfc" id="L196" title="All 2 branches covered."> renewerElems.hasNext();) {</span> +<span class="fc" id="L196"> for (Iterator renewerElems = configElem.getChildrenWithName(RENEWER);</span> +<span class="fc bfc" id="L197" title="All 2 branches covered."> renewerElems.hasNext();) {</span> -<span class="fc" id="L198"> OMElement element = (OMElement) renewerElems.next();</span> +<span class="fc" id="L199"> OMElement element = (OMElement) renewerElems.next();</span> //get the class attr -<span class="fc" id="L201"> String renewerClass = element.getAttributeValue(CLASS_ATTR);</span> -<span class="pc bpc" id="L202" title="1 of 2 branches missed."> if (renewerClass == null) {</span> -<span class="nc" id="L203"> throw new TrustException("missingClassName");</span> +<span class="fc" id="L202"> String renewerClass = element.getAttributeValue(CLASS_ATTR);</span> +<span class="pc bpc" id="L203" title="1 of 2 branches missed."> if (renewerClass == null) {</span> +<span class="nc" id="L204"> throw new TrustException("missingClassName");</span> } -<span class="fc" id="L205"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> -<span class="pc bpc" id="L206" title="2 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> +<span class="fc" id="L206"> String isDefault = element.getAttributeValue(DEFAULT_ATTR);</span> +<span class="pc bpc" id="L207" title="2 of 4 branches missed."> if (isDefault != null && "true".equalsIgnoreCase(isDefault)) {</span> //Use the first default issuer as the default isser -<span class="pc bpc" id="L208" title="1 of 2 branches missed."> if (conf.defaultRenewerClassName == null) {</span> -<span class="fc" id="L209"> conf.defaultRenewerClassName = renewerClass;</span> +<span class="pc bpc" id="L209" title="1 of 2 branches missed."> if (conf.defaultRenewerClassName == null) {</span> +<span class="fc" id="L210"> conf.defaultRenewerClassName = renewerClass;</span> } else { -<span class="nc" id="L211"> throw new TrustException("badDispatcherConfigMultipleDefaultRenewers");</span> +<span class="nc" id="L212"> throw new TrustException("badDispatcherConfigMultipleDefaultRenewers");</span> } } -<span class="fc" id="L215"> processConfiguration(element, conf, renewerClass);</span> +<span class="fc" id="L216"> processConfiguration(element, conf, renewerClass);</span> //Process token types -<span class="fc" id="L218"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> -<span class="fc bfc" id="L219" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> -<span class="fc" id="L220"> OMElement type = (OMElement) tokenTypes.next();</span> -<span class="fc" id="L221"> String value = type.getText();</span> -<span class="pc bpc" id="L222" title="2 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> -<span class="nc" id="L223"> throw new TrustException("invalidTokenTypeDefinition",</span> +<span class="fc" id="L219"> for (Iterator tokenTypes = element.getChildrenWithName(TOKEN_TYPE);</span> +<span class="fc bfc" id="L220" title="All 2 branches covered."> tokenTypes.hasNext();) {</span> +<span class="fc" id="L221"> OMElement type = (OMElement) tokenTypes.next();</span> +<span class="fc" id="L222"> String value = type.getText();</span> +<span class="pc bpc" id="L223" title="2 of 4 branches missed."> if (value == null || value.trim().length() == 0) {</span> +<span class="nc" id="L224"> throw new TrustException("invalidTokenTypeDefinition",</span> new String[]{"Renewer", renewerClass}); } -<span class="pc bpc" id="L226" title="1 of 2 branches missed."> if (conf.renewers == null) {</span> -<span class="fc" id="L227"> conf.renewers = new Hashtable();</span> +<span class="pc bpc" id="L227" title="1 of 2 branches missed."> if (conf.renewers == null) {</span> +<span class="fc" id="L228"> conf.renewers = new Hashtable();</span> } //If the token type is not already declared then add it to the //table with the renwer classname -<span class="pc bpc" id="L231" title="1 of 2 branches missed."> if (!conf.renewers.keySet().contains(value)) {</span> -<span class="fc" id="L232"> conf.renewers.put(value, renewerClass);</span> +<span class="pc bpc" id="L232" title="1 of 2 branches missed."> if (!conf.renewers.keySet().contains(value)) {</span> +<span class="fc" id="L233"> conf.renewers.put(value, renewerClass);</span> } -<span class="fc" id="L234"> }</span> -<span class="fc" id="L235"> } </span> -<span class="fc" id="L236"> }</span> +<span class="fc" id="L235"> }</span> +<span class="fc" id="L236"> } </span> +<span class="fc" id="L237"> }</span> private static void processConfiguration(OMElement element, TokenRequestDispatcherConfig conf, String implClass) { -<span class="fc" id="L242"> for (Iterator configs = element.getChildrenWithName(CONFIGURATION_ELEMENT);</span> -<span class="fc bfc" id="L243" title="All 2 branches covered."> configs.hasNext();) {</span> -<span class="fc" id="L244"> OMElement configEle = (OMElement) configs.next();</span> -<span class="fc" id="L245"> String configType =</span> +<span class="fc" id="L243"> for (Iterator configs = element.getChildrenWithName(CONFIGURATION_ELEMENT);</span> +<span class="fc bfc" id="L244" title="All 2 branches covered."> configs.hasNext();) {</span> +<span class="fc" id="L245"> OMElement configEle = (OMElement) configs.next();</span> +<span class="fc" id="L246"> String configType =</span> configEle.getAttribute(new QName("type")).getAttributeValue().trim(); -<span class="pc bpc" id="L247" title="1 of 2 branches missed."> if (configType.equalsIgnoreCase("file")) { //Process configuration file information</span> -<span class="nc" id="L248"> String issuerConfigFile = configEle.getText();</span> -<span class="nc bnc" id="L249" title="All 2 branches missed."> if (issuerConfigFile != null) {</span> -<span class="nc" id="L250"> conf.configFiles.put(implClass, issuerConfigFile);</span> +<span class="pc bpc" id="L248" title="1 of 2 branches missed."> if (configType.equalsIgnoreCase("file")) { //Process configuration file information</span> +<span class="nc" id="L249"> String issuerConfigFile = configEle.getText();</span> +<span class="nc bnc" id="L250" title="All 2 branches missed."> if (issuerConfigFile != null) {</span> +<span class="nc" id="L251"> conf.configFiles.put(implClass, issuerConfigFile);</span> } -<span class="pc bpc" id="L252" title="1 of 2 branches missed."> } else if (configType.equalsIgnoreCase("element"))</span> +<span class="pc bpc" id="L253" title="1 of 2 branches missed."> } else if (configType.equalsIgnoreCase("element"))</span> { //Process configuration element information -<span class="nc" id="L254"> conf.configElements.put(implClass, configEle);</span> -<span class="pc bpc" id="L255" title="1 of 2 branches missed."> } else if (configType.equalsIgnoreCase("parameter"))</span> +<span class="nc" id="L255"> conf.configElements.put(implClass, configEle);</span> +<span class="pc bpc" id="L256" title="1 of 2 branches missed."> } else if (configType.equalsIgnoreCase("parameter"))</span> { //Process configuration parameter name information -<span class="fc" id="L257"> conf.configParamNames.put(implClass, configEle.getText());</span> +<span class="fc" id="L258"> conf.configParamNames.put(implClass, configEle.getText());</span> } -<span class="fc" id="L259"> }</span> -<span class="fc" id="L260"> }</span> +<span class="fc" id="L260"> }</span> +<span class="fc" id="L261"> }</span> public static TokenRequestDispatcherConfig load(String configFilePath) throws TrustException { FileInputStream fis; - StAXOMBuilder builder; + OMXMLParserWrapper builder; try { -<span class="fc" id="L266"> fis = new FileInputStream(configFilePath);</span> -<span class="fc" id="L267"> builder = new StAXOMBuilder(fis);</span> -<span class="nc" id="L268"> } catch (Exception e) {</span> -<span class="nc" id="L269"> throw new TrustException("errorLoadingConfigFile", new String[]{configFilePath});</span> -<span class="fc" id="L270"> }</span> -<span class="fc" id="L271"> return load(builder.getDocumentElement());</span> +<span class="fc" id="L267"> fis = new FileInputStream(configFilePath);</span> +<span class="fc" id="L268"> builder = OMXMLBuilderFactory.createOMBuilder(fis);</span> +<span class="nc" id="L269"> } catch (Exception e) {</span> +<span class="nc" id="L270"> throw new TrustException("errorLoadingConfigFile", new String[]{configFilePath}, e);</span> +<span class="fc" id="L271"> }</span> +<span class="fc" id="L272"> return load(builder.getDocumentElement());</span> } public TokenIssuer getDefaultIssuerInstace() throws TrustException { -<span class="nc bnc" id="L275" title="All 2 branches missed."> if (this.defaultIssuerClassName != null) {</span> +<span class="nc bnc" id="L276" title="All 2 branches missed."> if (this.defaultIssuerClassName != null) {</span> try { -<span class="nc" id="L277"> return createIssuer(this.defaultIssuerClassName);</span> -<span class="nc" id="L278"> } catch (Exception e) {</span> -<span class="nc" id="L279"> throw new TrustException("cannotLoadClass",</span> +<span class="nc" id="L278"> return createIssuer(this.defaultIssuerClassName);</span> +<span class="nc" id="L279"> } catch (Exception e) {</span> +<span class="nc" id="L280"> throw new TrustException("cannotLoadClass",</span> new String[]{this.defaultIssuerClassName}, e); } } else { -<span class="nc" id="L283"> return null;</span> +<span class="nc" id="L284"> return null;</span> } } public TokenCanceler getDefaultCancelerInstance() throws TrustException { -<span class="pc bpc" id="L288" title="1 of 2 branches missed."> if (this.defaultCancelerClassName != null) {</span> +<span class="pc bpc" id="L289" title="1 of 2 branches missed."> if (this.defaultCancelerClassName != null) {</span> try { -<span class="fc" id="L290"> return createCanceler(this.defaultCancelerClassName);</span> -<span class="nc" id="L291"> } catch (Exception e) {</span> -<span class="nc" id="L292"> throw new TrustException("cannotLoadClass",</span> +<span class="fc" id="L291"> return createCanceler(this.defaultCancelerClassName);</span> +<span class="nc" id="L292"> } catch (Exception e) {</span> +<span class="nc" id="L293"> throw new TrustException("cannotLoadClass",</span> new String[]{this.defaultCancelerClassName}, e); } } else { -<span class="nc" id="L296"> return null;</span> +<span class="nc" id="L297"> return null;</span> } } public TokenValidator getDefaultValidatorInstance() throws TrustException { -<span class="nc bnc" id="L301" title="All 2 branches missed."> if (this.defaultValidatorClassName != null) {</span> +<span class="nc bnc" id="L302" title="All 2 branches missed."> if (this.defaultValidatorClassName != null) {</span> try { -<span class="nc" id="L303"> return createValidator(this.defaultValidatorClassName);</span> -<span class="nc" id="L304"> } catch (Exception e) {</span> -<span class="nc" id="L305"> throw new TrustException("cannotLoadClass",</span> +<span class="nc" id="L304"> return createValidator(this.defaultValidatorClassName);</span> +<span class="nc" id="L305"> } catch (Exception e) {</span> +<span class="nc" id="L306"> throw new TrustException("cannotLoadClass",</span> new String[]{this.defaultValidatorClassName}, e); } } else { -<span class="nc" id="L309"> return null;</span> +<span class="nc" id="L310"> return null;</span> } } public TokenRenewer getDefaultRenewerInstance() throws TrustException { -<span class="nc bnc" id="L314" title="All 2 branches missed."> if (this.defaultRenewerClassName != null) {</span> +<span class="nc bnc" id="L315" title="All 2 branches missed."> if (this.defaultRenewerClassName != null) {</span> try { -<span class="nc" id="L316"> return createRenewer(this.defaultRenewerClassName);</span> -<span class="nc" id="L317"> } catch (Exception e) {</span> -<span class="nc" id="L318"> throw new TrustException("cannotLoadClass",</span> +<span class="nc" id="L317"> return createRenewer(this.defaultRenewerClassName);</span> +<span class="nc" id="L318"> } catch (Exception e) {</span> +<span class="nc" id="L319"> throw new TrustException("cannotLoadClass",</span> new String[]{this.defaultRenewerClassName}, e); } } else { -<span class="nc" id="L322"> return null;</span> +<span class="nc" id="L323"> return null;</span> } } public String getDefaultIssuerName() { -<span class="fc" id="L328"> return this.defaultIssuerClassName;</span> +<span class="fc" id="L329"> return this.defaultIssuerClassName;</span> } public TokenIssuer getIssuer(String tokenType) throws TrustException { -<span class="fc" id="L333"> String issuerClassName = null;</span> +<span class="fc" id="L334"> String issuerClassName = null;</span> //try to find the issuer class name from the tokenType<->issuer map -<span class="pc bpc" id="L335" title="1 of 2 branches missed."> if (this.issuers != null) {</span> -<span class="fc" id="L336"> issuerClassName = (String) this.issuers.get(tokenType);</span> +<span class="pc bpc" id="L336" title="1 of 2 branches missed."> if (this.issuers != null) {</span> +<span class="fc" id="L337"> issuerClassName = (String) this.issuers.get(tokenType);</span> } //If a specific issuer is not found use the default issuer -<span class="pc bpc" id="L339" title="1 of 2 branches missed."> if (issuerClassName == null) {</span> -<span class="nc" id="L340"> issuerClassName = this.defaultIssuerClassName;</span> +<span class="pc bpc" id="L340" title="1 of 2 branches missed."> if (issuerClassName == null) {</span> +<span class="nc" id="L341"> issuerClassName = this.defaultIssuerClassName;</span> } try { -<span class="fc" id="L343"> return createIssuer(issuerClassName);</span> -<span class="nc" id="L344"> } catch (Exception e) {</span> -<span class="nc" id="L345"> throw new TrustException("cannotLoadClass",</span> +<span class="fc" id="L344"> return createIssuer(issuerClassName);</span> +<span class="nc" id="L345"> } catch (Exception e) {</span> +<span class="nc" id="L346"> throw new TrustException("cannotLoadClass",</span> new String[]{issuerClassName}, e); } } public TokenValidator getValidator(String tokenType) throws TrustException { -<span class="nc" id="L351"> String validatorClassName = null;</span> +<span class="nc" id="L352"> String validatorClassName = null;</span> //try to find the validator class name from the tokenType<->validator map -<span class="nc bnc" id="L353" title="All 2 branches missed."> if (this.validators != null) {</span> -<span class="nc" id="L354"> validatorClassName = (String) this.validators.get(tokenType);</span> +<span class="nc bnc" id="L354" title="All 2 branches missed."> if (this.validators != null) {</span> +<span class="nc" id="L355"> validatorClassName = (String) this.validators.get(tokenType);</span> } //If a specific validator is not found use the default validator -<span class="nc bnc" id="L357" title="All 2 branches missed."> if (validatorClassName == null) {</span> -<span class="nc" id="L358"> validatorClassName = this.defaultValidatorClassName;</span> +<span class="nc bnc" id="L358" title="All 2 branches missed."> if (validatorClassName == null) {</span> +<span class="nc" id="L359"> validatorClassName = this.defaultValidatorClassName;</span> } try { -<span class="nc" id="L361"> return createValidator(validatorClassName);</span> -<span class="nc" id="L362"> } catch (Exception e) {</span> -<span class="nc" id="L363"> throw new TrustException("cannotLoadClass",</span> +<span class="nc" id="L362"> return createValidator(validatorClassName);</span> +<span class="nc" id="L363"> } catch (Exception e) {</span> +<span class="nc" id="L364"> throw new TrustException("cannotLoadClass",</span> new String[]{validatorClassName}, e); } } public TokenRenewer getRenewer(String tokenType) throws TrustException { -<span class="nc" id="L369"> String renewerClassName = null;</span> +<span class="nc" id="L370"> String renewerClassName = null;</span> //try to find the renewer class name from the tokenType<->Renewer map -<span class="nc bnc" id="L371" title="All 2 branches missed."> if (this.renewers != null) {</span> -<span class="nc" id="L372"> renewerClassName = (String) this.renewers.get(tokenType);</span> +<span class="nc bnc" id="L372" title="All 2 branches missed."> if (this.renewers != null) {</span> +<span class="nc" id="L373"> renewerClassName = (String) this.renewers.get(tokenType);</span> } //If a specific renewer is not found use the default renewer -<span class="nc bnc" id="L375" title="All 2 branches missed."> if (renewerClassName == null) {</span> -<span class="nc" id="L376"> renewerClassName = this.defaultRenewerClassName;</span> +<span class="nc bnc" id="L376" title="All 2 branches missed."> if (renewerClassName == null) {</span> +<span class="nc" id="L377"> renewerClassName = this.defaultRenewerClassName;</span> } try { -<span class="nc" id="L379"> return createRenewer(renewerClassName);</span> -<span class="nc" id="L380"> } catch (Exception e) {</span> -<span class="nc" id="L381"> throw new TrustException("cannotLoadClass",</span> +<span class="nc" id="L380"> return createRenewer(renewerClassName);</span> +<span class="nc" id="L381"> } catch (Exception e) {</span> +<span class="nc" id="L382"> throw new TrustException("cannotLoadClass",</span> new String[]{renewerClassName}, e); } } @@ -388,39 +389,39 @@ import java.util.Map; * @return TokenIssuer */ private TokenIssuer createIssuer(String issuerClassName) throws Exception { -<span class="fc" id="L391"> TokenIssuer issuer = (TokenIssuer) Loader.loadClass(this.getClass().getClassLoader(), </span> +<span class="fc" id="L392"> TokenIssuer issuer = (TokenIssuer) Loader.loadClass(this.getClass().getClassLoader(), </span> issuerClassName).newInstance(); -<span class="fc" id="L393"> issuer.setConfigurationElement((OMElement) this.configElements.get(issuerClassName));</span> -<span class="fc" id="L394"> issuer.setConfigurationFile((String) this.configFiles.get(issuerClassName));</span> -<span class="fc" id="L395"> issuer.setConfigurationParamName((String) this.configParamNames.get(issuerClassName));</span> -<span class="fc" id="L396"> return issuer;</span> +<span class="fc" id="L394"> issuer.setConfigurationElement((OMElement) this.configElements.get(issuerClassName));</span> +<span class="fc" id="L395"> issuer.setConfigurationFile((String) this.configFiles.get(issuerClassName));</span> +<span class="fc" id="L396"> issuer.setConfigurationParamName((String) this.configParamNames.get(issuerClassName));</span> +<span class="fc" id="L397"> return issuer;</span> } private TokenCanceler createCanceler(String cancelerClassName) throws Exception { -<span class="fc" id="L400"> TokenCanceler canceler = (TokenCanceler) Loader.loadClass(this.getClass().getClassLoader(),</span> +<span class="fc" id="L401"> TokenCanceler canceler = (TokenCanceler) Loader.loadClass(this.getClass().getClassLoader(),</span> cancelerClassName).newInstance(); -<span class="fc" id="L402"> canceler.setConfigurationElement((OMElement) this.configElements.get(cancelerClassName));</span> -<span class="fc" id="L403"> canceler.setConfigurationFile((String) this.configFiles.get(cancelerClassName));</span> -<span class="fc" id="L404"> canceler.setConfigurationParamName((String) this.configParamNames.get(cancelerClassName));</span> -<span class="fc" id="L405"> return canceler;</span> +<span class="fc" id="L403"> canceler.setConfigurationElement((OMElement) this.configElements.get(cancelerClassName));</span> +<span class="fc" id="L404"> canceler.setConfigurationFile((String) this.configFiles.get(cancelerClassName));</span> +<span class="fc" id="L405"> canceler.setConfigurationParamName((String) this.configParamNames.get(cancelerClassName));</span> +<span class="fc" id="L406"> return canceler;</span> } private TokenValidator createValidator(String validatorClassName) throws Exception { -<span class="nc" id="L409"> TokenValidator validator = (TokenValidator) Loader.loadClass(this.getClass().getClassLoader(),</span> +<span class="nc" id="L410"> TokenValidator validator = (TokenValidator) Loader.loadClass(this.getClass().getClassLoader(),</span> validatorClassName).newInstance(); -<span class="nc" id="L411"> validator.setConfigurationElement((OMElement) this.configElements.get(validatorClassName));</span> -<span class="nc" id="L412"> validator.setConfigurationFile((String) this.configFiles.get(validatorClassName));</span> -<span class="nc" id="L413"> validator.setConfigurationParamName((String) this.configParamNames.get(validatorClassName));</span> -<span class="nc" id="L414"> return validator;</span> +<span class="nc" id="L412"> validator.setConfigurationElement((OMElement) this.configElements.get(validatorClassName));</span> +<span class="nc" id="L413"> validator.setConfigurationFile((String) this.configFiles.get(validatorClassName));</span> +<span class="nc" id="L414"> validator.setConfigurationParamName((String) this.configParamNames.get(validatorClassName));</span> +<span class="nc" id="L415"> return validator;</span> } private TokenRenewer createRenewer (String renewerClassName) throws Exception { -<span class="nc" id="L418"> TokenRenewer renewer = (TokenRenewer) Loader.loadClass(this.getClass().getClassLoader(),</span> +<span class="nc" id="L419"> TokenRenewer renewer = (TokenRenewer) Loader.loadClass(this.getClass().getClassLoader(),</span> renewerClassName).newInstance(); -<span class="nc" id="L420"> renewer.setConfigurationElement((OMElement) this.configElements.get(renewerClassName));</span> -<span class="nc" id="L421"> renewer.setConfigurationFile((String) this.configFiles.get(renewerClassName));</span> -<span class="nc" id="L422"> renewer.setConfigurationParamName((String) this.configParamNames.get(renewerClassName));</span> -<span class="nc" id="L423"> return renewer;</span> +<span class="nc" id="L421"> renewer.setConfigurationElement((OMElement) this.configElements.get(renewerClassName));</span> +<span class="nc" id="L422"> renewer.setConfigurationFile((String) this.configFiles.get(renewerClassName));</span> +<span class="nc" id="L423"> renewer.setConfigurationParamName((String) this.configParamNames.get(renewerClassName));</span> +<span class="nc" id="L424"> return renewer;</span> } } </pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.6.1.201212231917</span></div></body></html> \ No newline at end of file
