public class JexlClaimsMapper extends Object implements ClaimsMapper
Constructor and Description |
---|
JexlClaimsMapper() |
JexlClaimsMapper(String script) |
Modifier and Type | Method and Description |
---|---|
JexlEngine |
getJexlEngine() |
Script |
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(JexlEngine jexl) |
void |
setScript(Script script) |
public JexlClaimsMapper()
public JexlClaimsMapper(String script) throws IOException
IOException
public ProcessedClaimCollection mapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters)
ClaimsMapper
mapClaims
in interface ClaimsMapper
sourceRealm
- the source realm of the PrincipalsourceClaims
- the claims collection in the source realmtargetRealm
- the target realm of the Principalpublic Script getScript()
public void setScript(Script script)
public JexlEngine getJexlEngine()
public void setJexlEngine(JexlEngine jexl)
Apache CXF