public class JexlClaimsMapper extends Object implements ClaimsMapper
| Constructor and Description |
|---|
JexlClaimsMapper() |
JexlClaimsMapper(String script) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.jexl3.JexlEngine |
getJexlEngine() |
org.apache.commons.jexl3.JexlScript |
getScript() |
ProcessedClaimCollection |
mapClaims(String sourceRealm,
ProcessedClaimCollection sourceClaims,
String targetRealm,
ClaimsParameters parameters)
Map a collection of claims in the source realm to the target realm
|
void |
setJexlEngine(org.apache.commons.jexl3.JexlEngine jexl) |
void |
setScript(org.apache.commons.jexl3.JexlScript script) |
void |
setScript(String scriptLocation) |
public JexlClaimsMapper()
public JexlClaimsMapper(String script) throws IOException
IOExceptionpublic ProcessedClaimCollection mapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters)
ClaimsMappermapClaims in interface ClaimsMappersourceRealm - the source realm of the PrincipalsourceClaims - the claims collection in the source realmtargetRealm - the target realm of the Principalpublic org.apache.commons.jexl3.JexlScript getScript()
public final void setScript(org.apache.commons.jexl3.JexlScript script)
public final void setScript(String scriptLocation) throws IOException
IOExceptionpublic org.apache.commons.jexl3.JexlEngine getJexlEngine()
public void setJexlEngine(org.apache.commons.jexl3.JexlEngine jexl)
Apache CXF