diff options
Diffstat (limited to 'eaaf_core_api/src')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExtendedPvpAttributeDefinitions.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExtendedPvpAttributeDefinitions.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExtendedPvpAttributeDefinitions.java index 7be811aa..771829c9 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExtendedPvpAttributeDefinitions.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExtendedPvpAttributeDefinitions.java @@ -22,6 +22,8 @@ package at.gv.egiz.eaaf.core.api.data; import java.util.NoSuchElementException; import java.util.stream.Stream; +import com.fasterxml.jackson.annotation.JsonCreator; + public interface ExtendedPvpAttributeDefinitions extends PvpAttributeDefinitions { String EIDAS_CONNECTOR_UNIQUEID_NAME = "urn:eidgvat:attributes.eidas.uniqueId"; @@ -67,6 +69,7 @@ public interface ExtendedPvpAttributeDefinitions extends PvpAttributeDefinitions * @param s mandate-mode String parameter * @return mandate mode, or {@link NoSuchElementException} if mode is unknown */ + @JsonCreator public static SpMandateModes fromString(final String mode) { return Stream.of(SpMandateModes.values()) .filter(el -> el.getMode().equals(mode)) |