Package org.apache.cxf.sts.claims.mapper
Class JexlClaimsMapper
java.lang.Object
org.apache.cxf.sts.claims.mapper.JexlClaimsMapper
- All Implemented Interfaces:
ClaimsMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.jexl3.JexlEngineorg.apache.commons.jexl3.JexlScriptmapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters) Map a collection of claims in the source realm to the target realmvoidsetJexlEngine(org.apache.commons.jexl3.JexlEngine jexl) final voidfinal voidsetScript(org.apache.commons.jexl3.JexlScript script)
-
Constructor Details
-
JexlClaimsMapper
public JexlClaimsMapper() -
JexlClaimsMapper
- Throws:
IOException
-
-
Method Details
-
mapClaims
public ProcessedClaimCollection mapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters) Description copied from interface:ClaimsMapperMap a collection of claims in the source realm to the target realm- Specified by:
mapClaimsin interfaceClaimsMapper- Parameters:
sourceRealm- the source realm of the PrincipalsourceClaims- the claims collection in the source realmtargetRealm- the target realm of the Principal- Returns:
- claims collection of the target realm
-
getScript
public org.apache.commons.jexl3.JexlScript getScript() -
setScript
public final void setScript(org.apache.commons.jexl3.JexlScript script) -
setScript
- Throws:
IOException
-
getJexlEngine
public org.apache.commons.jexl3.JexlEngine getJexlEngine() -
setJexlEngine
public void setJexlEngine(org.apache.commons.jexl3.JexlEngine jexl)
-