| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ClaimUtils (Apache CXF JavaDoc 3.2.0 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ClaimUtils (Apache CXF JavaDoc 3.2.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClaimUtils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Apache CXF API</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.html" title="class in org.apache.cxf.sts.claims.mapper"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/cxf/sts/claims/mapper/ClaimUtils.html" target="_top">Frames</a></li> |
| <li><a href="ClaimUtils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.cxf.sts.claims.mapper</div> |
| <h2 title="Class ClaimUtils" class="title">Class ClaimUtils</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.cxf.sts.claims.mapper.ClaimUtils</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">ClaimUtils</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">This claim util class provides methods to make the handling of claims and claim values easier. The input |
| claims (and their values) shall be treated as immutable. All util methods return a clone of the |
| provided claim containing the desired claim update.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#ClaimUtils--">ClaimUtils</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#add-org.apache.cxf.sts.claims.ProcessedClaimCollection-org.apache.cxf.sts.claims.ProcessedClaim...-">add</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> collection, |
| <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a>... claims)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#add-org.apache.cxf.sts.claims.ProcessedClaimCollection-org.apache.cxf.sts.claims.ProcessedClaimCollection...-">add</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> collection, |
| <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a>... claimCollections)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#create-java.lang.String-java.lang.String...-">create</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimTypeURI, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... values)</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#distinctValues-org.apache.cxf.sts.claims.ProcessedClaim-">distinctValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</code> |
| <div class="block">This function removes duplicated values.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#filterValues-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-">filterValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filter)</code> |
| <div class="block">Filtering all values from the given claim according to the provided regex filter.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#get-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-">get</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimType)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#lowerCaseValues-org.apache.cxf.sts.claims.ProcessedClaim-">lowerCaseValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#mapType-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.util.Map-boolean-">mapType</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> map, |
| boolean keepUnmapped)</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#mapValues-org.apache.cxf.sts.claims.ProcessedClaim-java.util.Map-boolean-">mapValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> mapping, |
| boolean keepUnmapped)</code> |
| <div class="block">Mapping all values from the given claim according to the provided map.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#merge-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-java.lang.String-java.lang.String...-">merge</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetClaimType, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... processedClaimType)</code> |
| <div class="block">Merges the first value (only) from different claim types in a collection to a new claim type separated |
| by the provided delimiter.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#multiToSingleValue-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-">multiToSingleValue</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter)</code> |
| <div class="block">This function is especially useful if values from multiple claim values need to be condensed into a |
| single value element.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#removeEmptyClaims-org.apache.cxf.sts.claims.ProcessedClaimCollection-">removeEmptyClaims</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims)</code> |
| <div class="block">Removes Claims without values.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#setType-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-">setType</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimTypeURI)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#singleToMultiValue-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-">singleToMultiValue</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter)</code> |
| <div class="block">This function is especially useful if multi values from a claim are stored within a single value entry.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#updateIssuer-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-">updateIssuer</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newIssuer)</code> |
| <div class="block">All claims within the provided collection will be updated in the following manner: If no original |
| issuer is set, the issuer in the provided claims will be set as original issuer.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#upperCaseValues-org.apache.cxf.sts.claims.ProcessedClaim-">upperCaseValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/cxf/sts/claims/mapper/ClaimUtils.html#wrapValues-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-java.lang.String-">wrapValues</a></span>(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suffix)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ClaimUtils--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ClaimUtils</h4> |
| <pre>public ClaimUtils()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="add-org.apache.cxf.sts.claims.ProcessedClaimCollection-org.apache.cxf.sts.claims.ProcessedClaim...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> add(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> collection, |
| <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a>... claims)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>collection</code> - Collection that should be used to add further claims to</dd> |
| <dd><code>claims</code> - Claims to be added to the provided collection</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns clone of the provided collection including additional claims</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-org.apache.cxf.sts.claims.ProcessedClaimCollection-org.apache.cxf.sts.claims.ProcessedClaimCollection...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> add(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> collection, |
| <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a>... claimCollections)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>collection</code> - Collection that should be used to add claims from the other provided claim |
| collections</dd> |
| <dd><code>claimCollections</code> - All claims contained within the provided collections will be added to the |
| targetCollection</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a clone of the provided collection containing all claims from all other claimCollections</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="create-java.lang.String-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> create(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimTypeURI, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... values)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaimTypeURI</code> - claim type URI</dd> |
| <dd><code>values</code> - values of created claim. Can be null if no values shall be added to claim.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns new claim with provided claim type and values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> get(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimType)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaims</code> - Collection of multiple claims with different claim types</dd> |
| <dd><code>processedClaimType</code> - URI of claim type to be selected from claim collection</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns first claim from claims collection matching the provided claimType</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="mapType-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.util.Map-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mapType</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> mapType(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> map, |
| boolean keepUnmapped)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaims</code> - Collection of claims to be mapped to a different claim type</dd> |
| <dd><code>map</code> - Map of old:new claim types</dd> |
| <dd><code>keepUnmapped</code> - if set to false only claims with a claim type contained in the map will be |
| returned. If set to false claims with an unmapped claim type will also be returned.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns claim collection with mapped claim types</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="mapValues-org.apache.cxf.sts.claims.ProcessedClaim-java.util.Map-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mapValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> mapValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> mapping, |
| boolean keepUnmapped)</pre> |
| <div class="block">Mapping all values from the given claim according to the provided map. Input claims will not be |
| modified. Result claim will be a clone of the provided claims just with different (mapped) claim |
| values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - Claim providing values to be mapped</dd> |
| <dd><code>map</code> - Map of old:new mapping values</dd> |
| <dd><code>keepUnmapped</code> - if set to false only values contained in the map will be returned. If set to true, |
| values not contained in the map will also remain in the returned claim.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns the provided claim with mapped values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="filterValues-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>filterValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> filterValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> filter)</pre> |
| <div class="block">Filtering all values from the given claim according to the provided regex filter. Input claims will not |
| be modified. Result claim will be a clone of the provided claims just possible fewer (filtered) claim |
| values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - Claim containing arbitrary values</dd> |
| <dd><code>filter</code> - Regex filter to be used to match with claim values</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a claim containing only values from the processedClaim which matched the provided |
| filter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="merge-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-java.lang.String-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>merge</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> merge(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetClaimType, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... processedClaimType)</pre> |
| <div class="block">Merges the first value (only) from different claim types in a collection to a new claim type separated |
| by the provided delimiter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaims</code> - Collection of claims containing claims with claim types of listed |
| <code>claimType</code> array</dd> |
| <dd><code>targetClaimType</code> - claim type URI of merged result claim</dd> |
| <dd><code>delimiter</code> - Delimiter added between multiple claim types. Value can be <code>null</code>.</dd> |
| <dd><code>processedClaimType</code> - URIs of claim types to be merged. Merging will be in the same order as the |
| provided claim type URIs. If a claim type is not found in the collection this claim type |
| will be omitted.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns merged claim of all found claim types</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setType-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setType</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> setType(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> processedClaimTypeURI)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - Claim to be updated</dd> |
| <dd><code>processedClaimTypeURI</code> - URI as String to be set as claim type in provided claim</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns updated claim</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateIssuer-org.apache.cxf.sts.claims.ProcessedClaimCollection-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateIssuer</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> updateIssuer(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> newIssuer)</pre> |
| <div class="block">All claims within the provided collection will be updated in the following manner: If no original |
| issuer is set, the issuer in the provided claims will be set as original issuer. If an original issuer |
| was already set before, the original issuer will not be updated. All claims will be updated to have the |
| provided issuer name be set as the claim issuer.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaims</code> - Collection of claims to be updated</dd> |
| <dd><code>issuerName</code> - Issuer to be set for all claims within the collection</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a new claim collection with clones of updated claims</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="upperCaseValues-org.apache.cxf.sts.claims.ProcessedClaim-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>upperCaseValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> upperCaseValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - values of this claim will be used for result claim</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns clone of the provided claim with values all in uppercase format</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="lowerCaseValues-org.apache.cxf.sts.claims.ProcessedClaim-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lowerCaseValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> lowerCaseValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - values of this claim will be used for result claim</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns clone of provided claim with values all in lowercase format</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="wrapValues-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>wrapValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> wrapValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suffix)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - Claim providing values to be wrapped</dd> |
| <dd><code>prefix</code> - Prefix to be added to each claim value. Can be null.</dd> |
| <dd><code>suffix</code> - Suffix to be appended to each claim value. Can be null.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a clone of the the provided claim with wrapped values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="singleToMultiValue-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>singleToMultiValue</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> singleToMultiValue(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter)</pre> |
| <div class="block">This function is especially useful if multi values from a claim are stored within a single value entry. |
| For example multi user roles could all be stored in a single value element separated by comma: |
| USER,MANAGER,ADMIN The result of this function will provide a claim with three distinct values: USER |
| and MANAGER and ADMIN.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - claim containing multi-values in a single value entry</dd> |
| <dd><code>delimiter</code> - Delimiter to split multi-values into single values</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a clone of the provided claim containing only single values per value entry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="multiToSingleValue-org.apache.cxf.sts.claims.ProcessedClaim-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiToSingleValue</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> multiToSingleValue(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim, |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> delimiter)</pre> |
| <div class="block">This function is especially useful if values from multiple claim values need to be condensed into a |
| single value element. For example a user has three roles: USER and MANAGER and ADMIN. If ',' is used as |
| a delimiter, then this method would provide the following claim with only a single value looking like |
| this: USER,MANAGER,ADMIN</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - claim containing multi-values</dd> |
| <dd><code>delimiter</code> - Delimiter to concatenate multi-values into a single value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a clone of the provided claim containing only one single value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="distinctValues-org.apache.cxf.sts.claims.ProcessedClaim-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>distinctValues</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> distinctValues(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaim.html" title="class in org.apache.cxf.sts.claims">ProcessedClaim</a> processedClaim)</pre> |
| <div class="block">This function removes duplicated values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaim</code> - claim containing multi-values of which some might be duplicated</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a clone of the provided claim containing only distinct values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeEmptyClaims-org.apache.cxf.sts.claims.ProcessedClaimCollection-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeEmptyClaims</h4> |
| <pre>public <a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> removeEmptyClaims(<a href="../../../../../../org/apache/cxf/sts/claims/ProcessedClaimCollection.html" title="class in org.apache.cxf.sts.claims">ProcessedClaimCollection</a> processedClaims)</pre> |
| <div class="block">Removes Claims without values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>processedClaims</code> - Collection of claims with and/or without values</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns a collection of claims which contain values only</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClaimUtils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Apache CXF API</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../../org/apache/cxf/sts/claims/mapper/JexlClaimsMapper.html" title="class in org.apache.cxf.sts.claims.mapper"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/cxf/sts/claims/mapper/ClaimUtils.html" target="_top">Frames</a></li> |
| <li><a href="ClaimUtils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Apache CXF</small></p> |
| </body> |
| </html> |