Interface ExternalDataParser


  • public interface ExternalDataParser
    Parses external data into types usable in Unity API.
    • Method Detail

      • parseAsAttribute

        pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(String unityAttributeName,
                                                                String group,
                                                                List<?> externalValues)
                                                         throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsAttribute

        pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute,
                                                                String group,
                                                                List<?> externalValues,
                                                                String idp,
                                                                String profile)
                                                         throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsConfirmedAttribute

        <T> pl.edu.icm.unity.types.basic.Attribute parseAsConfirmedAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute,
                                                                             String group,
                                                                             List<?> externalValues,
                                                                             String idp,
                                                                             String profile)
                                                                      throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(String identityType,
                                                                   Object externalValue)
                                                            throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException
      • parseAsIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(IdentityTypeDefinition identityType,
                                                                   Object externalValue,
                                                                   String idp,
                                                                   String profile)
                                                            throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException
      • parseAsConfirmedIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsConfirmedIdentity​(IdentityTypeDefinition identityType,
                                                                            Object externalValue,
                                                                            String idp,
                                                                            String profile)
                                                                     throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException