updated copyright
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -12,7 +12,7 @@ spotless {
|
|||||||
target("**/src/**/java/**/*.java")
|
target("**/src/**/java/**/*.java")
|
||||||
removeUnusedImports()
|
removeUnusedImports()
|
||||||
importOrder()
|
importOrder()
|
||||||
licenseHeader("/* © SRSoftware 2024 */")
|
licenseHeader("/* © SRSoftware 2025 */")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.data.AuthResult;
|
import de.srsoftware.oidc.api.data.AuthResult;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.data.Client;
|
import de.srsoftware.oidc.api.data.Client;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.data.Session;
|
import de.srsoftware.oidc.api.data.Session;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static java.util.Optional.empty;
|
import static java.util.Optional.empty;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
public record Authorization(String clientId, String userId, AuthorizedScopes scopes) {
|
public record Authorization(String clientId, String userId, AuthorizedScopes scopes) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
public enum Permission { MANAGE_CLIENTS, MANAGE_PERMISSIONS, MANAGE_SMTP, MANAGE_USERS }
|
public enum Permission { MANAGE_CLIENTS, MANAGE_PERMISSIONS, MANAGE_SMTP, MANAGE_USERS }
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api.data;
|
package de.srsoftware.oidc.api.data;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.EMAIL;
|
import static de.srsoftware.oidc.api.Constants.EMAIL;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.OPENID;
|
import static de.srsoftware.oidc.api.Constants.OPENID;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.EXPIRATION;
|
import static de.srsoftware.oidc.api.Constants.EXPIRATION;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.api;
|
package de.srsoftware.oidc.api;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.data.Permission.*;
|
import static de.srsoftware.oidc.api.data.Permission.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.app;
|
package de.srsoftware.oidc.app;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.app;
|
package de.srsoftware.oidc.app;
|
||||||
|
|
||||||
import static java.util.Optional.empty;
|
import static java.util.Optional.empty;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import com.sun.net.httpserver.HttpExchange;
|
import com.sun.net.httpserver.HttpExchange;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import com.sun.net.httpserver.HttpExchange;
|
import com.sun.net.httpserver.HttpExchange;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.EXPIRATION;
|
import static de.srsoftware.oidc.api.Constants.EXPIRATION;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.backend;
|
package de.srsoftware.oidc.backend;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted;
|
package de.srsoftware.oidc.datastore.encrypted;
|
||||||
|
|
||||||
import static java.util.Optional.empty;
|
import static java.util.Optional.empty;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted;
|
package de.srsoftware.oidc.datastore.encrypted;
|
||||||
|
|
||||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted;
|
package de.srsoftware.oidc.datastore.encrypted;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.KeyStorage;
|
import de.srsoftware.oidc.api.KeyStorage;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted;
|
package de.srsoftware.oidc.datastore.encrypted;
|
||||||
|
|
||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2024 */
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted;
|
package de.srsoftware.oidc.datastore.encrypted;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.tools.Optionals.nullable;
|
import static de.srsoftware.tools.Optionals.nullable;
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.tools.Strings.uuid;
|
import static de.srsoftware.tools.Strings.uuid;
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.encrypted; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
import static de.srsoftware.tools.Optionals.nullable;
|
import static de.srsoftware.tools.Optionals.nullable;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file; /* © SRSoftware 2024 */
|
package de.srsoftware.oidc.datastore.file; /* © SRSoftware 2024 */
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
import static de.srsoftware.oidc.api.data.User.*;
|
import static de.srsoftware.oidc.api.data.User.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import de.srsoftware.tools.UuidHasher;
|
import de.srsoftware.tools.UuidHasher;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import static java.lang.System.Logger.Level.DEBUG;
|
import static java.lang.System.Logger.Level.DEBUG;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import static de.srsoftware.oidc.api.Constants.*;
|
import static de.srsoftware.oidc.api.Constants.*;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.UserService;
|
import de.srsoftware.oidc.api.UserService;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.datastore.file;
|
package de.srsoftware.oidc.datastore.file;
|
||||||
|
|
||||||
import de.srsoftware.oidc.api.KeyStorage;
|
import de.srsoftware.oidc.api.KeyStorage;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.web;
|
package de.srsoftware.oidc.web;
|
||||||
|
|
||||||
import static java.lang.System.Logger.Level.INFO;
|
import static java.lang.System.Logger.Level.INFO;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* © SRSoftware 2024 */
|
/* © SRSoftware 2025 */
|
||||||
package de.srsoftware.oidc.web;
|
package de.srsoftware.oidc.web;
|
||||||
|
|
||||||
import static java.lang.System.Logger.Level.*;
|
import static java.lang.System.Logger.Level.*;
|
||||||
|
|||||||
Reference in New Issue
Block a user