Class MetadataIdentityVerifier

  • All Implemented Interfaces:
    ComponentLifecycle, IdentityVerifier

    public class MetadataIdentityVerifier
    extends IdentityVerifierImpl
    Identity verification based on matching metadata keys against other metadata keys.

    This IdentityVerifier iterates over each entry in the identity map from IdentityBuilder.build(AdaptrisMessage) and compares the value with the corresponding value from message metadata.

    The key in getMetadataMap() needs to match the key in the identity map. The value refers to the metadata key that will be used to perform the match. In the event that the IdentityBuilder builds a map containing non-strings; then results are undefined (most likely validate(IdentityBuilder, AdaptrisMessage) will return false).

    In the adapter configuration file this class is aliased as simple-metadata-user-identity-verifier which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • MetadataIdentityVerifier

        public MetadataIdentityVerifier()
      • MetadataIdentityVerifier

        public MetadataIdentityVerifier​(KeyValuePairSet set)