Interface AuthenticationAttributeTransformer


public interface AuthenticationAttributeTransformer
An attribute transformer takes a collection of attributes and transforms them into a new collection of attributes. It does not have to be a 1-1 mapping. The transformer can add and remove attributes from the collection as it desires.

Mandatory attributes must exist in the result, if present in the call. If the transformer cannot fulfill this it should be considered an error.

  • Method Details

    • transform

      Transform the given attributes for the account owned by the given subject

      The transformation is done on the SubjectAttributes of the AuthenticationAttributes.

      Parameters:
      toTransform - AuthenticationAttributes to transform
      Returns:
      transformed Attributes