Class ScriptBasedMapper

All Implemented Interfaces:
ProtocolMapper, SAMLAttributeStatementMapper, ConfiguredProvider, EnvironmentDependentProviderFactory, Provider, ProviderFactory<ProtocolMapper>
Direct Known Subclasses:

This class provides a mapper that uses javascript to attach a value to an attribute for SAML tokens. The mapper can handle both a result that is a single value, or multiple values (an array or a list for example). For the latter case, it can return the result as a single attribute with multiple values, or as multiple attributes However, in all cases, the returned values must be castable to String values.
Alistair Doswald
  • Field Details

  • Constructor Details

    • ScriptBasedMapper

      public ScriptBasedMapper()
  • Method Details