Class urn_perun_user_attribute_def_def_vsupExchangeMail

All Implemented Interfaces:
AttributesModuleImplApi, UserAttributesModuleImplApi

public class urn_perun_user_attribute_def_def_vsupExchangeMail extends UserAttributesModuleAbstract implements UserAttributesModuleImplApi
Attribute module for Primary school mail at VŠUP. Expected format is "firstName.lastName[counter]@umprum.cz". Artistic names have preference over normal: "u:d:artisticFirstName", "u:d:artisticLastName". If firstName contains more names, only first is taken. If lastName contains more names, space is replaced with dash. Value can be empty or manually changed if necessary. In case of users name change, attribute value must be changed manually !! Value is filled/generated only for normal users (service users shouldn't have this attribute set)!!

On value change, map of usedMails in entityless attributes is checked and updated. Also u:d:vsupPreferredMail is set to current value, if is empty or equals u:d:vsupMail.

Author:
Pavel Zlámal <zlamal@cesnet.cz>