diff --git a/.classpath b/.classpath index 7fad44a..d18427a 100644 --- a/.classpath +++ b/.classpath @@ -13,7 +13,7 @@ - + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 2f5cc74..2af1e7b 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 +org.eclipse.jdt.core.compiler.compliance=11 org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=11 diff --git a/CHANGELOG.md b/CHANGELOG.md index e1fe3c0..1283b3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for Gcube security -## [v1.0.0] - 2022-05-23 +## [v1.0.0-SNAPSHOT] - First Release diff --git a/pom.xml b/pom.xml index bb07275..46469dc 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.gcube.common common-security - 1.0.0 + 1.0.0-SNAPSHOT gcube security diff --git a/src/main/java/org/gcube/common/security/secrets/Secret.java b/src/main/java/org/gcube/common/security/secrets/Secret.java index 4e5b34f..db65c74 100644 --- a/src/main/java/org/gcube/common/security/secrets/Secret.java +++ b/src/main/java/org/gcube/common/security/secrets/Secret.java @@ -17,4 +17,5 @@ public abstract class Secret { public abstract boolean isValid(); + public abstract boolean isExpired(); }