Class JexlClaimsMapper

java.lang.Object
org.apache.cxf.sts.claims.mapper.JexlClaimsMapper
All Implemented Interfaces:
ClaimsMapper

public class JexlClaimsMapper extends Object implements ClaimsMapper
  • Constructor Details

    • JexlClaimsMapper

      public JexlClaimsMapper()
    • JexlClaimsMapper

      public JexlClaimsMapper(String script) throws IOException
      Throws:
      IOException
  • Method Details

    • mapClaims

      public ProcessedClaimCollection mapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters)
      Description copied from interface: ClaimsMapper
      Map a collection of claims in the source realm to the target realm
      Specified by:
      mapClaims in interface ClaimsMapper
      Parameters:
      sourceRealm - the source realm of the Principal
      sourceClaims - the claims collection in the source realm
      targetRealm - 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

      public final void setScript(String scriptLocation) throws IOException
      Throws:
      IOException
    • getJexlEngine

      public org.apache.commons.jexl3.JexlEngine getJexlEngine()
    • setJexlEngine

      public void setJexlEngine(org.apache.commons.jexl3.JexlEngine jexl)