io.imunity.scim.user.mapping.evaluation.UnityToSCIMDataConverter Maven / Gradle / Ivy
/*
* Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.scim.user.mapping.evaluation;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.Date;
import java.util.Optional;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Component;
import io.imunity.scim.schema.SCIMAttributeType;
import io.imunity.scim.user.User;
import pl.edu.icm.unity.base.utils.Log;
import pl.edu.icm.unity.engine.api.AttributeValueConverter;
import pl.edu.icm.unity.exceptions.IllegalAttributeValueException;
import pl.edu.icm.unity.types.basic.AttributeExt;
import pl.edu.icm.unity.types.basic.Identity;
@Component
class UnityToSCIMDataConverter
{
private static final Logger log = Log.getLogger(Log.U_SERVER_SCIM, UnityToSCIMDataConverter.class);
private final AttributeValueConverter attrValueConverter;
UnityToSCIMDataConverter(AttributeValueConverter attrValueConverter)
{
this.attrValueConverter = attrValueConverter;
}
Optional