Compare commits

...

3 Commits

5 changed files with 5 additions and 13 deletions

View File

@@ -30,15 +30,6 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>kangaroo-and-rabbit</groupId>
<artifactId>archidata</artifactId>
<version>0.19.0</version>
<version>0.19.2</version>
<properties>
<java.version>21</java.version>
<maven.compiler.version>3.1</maven.compiler.version>

View File

@@ -48,7 +48,8 @@ public class User extends GenericDataSoftDelete {
@DefaultValue("'0'")
@Column(nullable = false)
public boolean blocked = false;
@Nullable
public Boolean blocked = false;
@Column(length = 512)
public String blockedReason;

View File

@@ -198,7 +198,7 @@ public class JWTWrapper {
.claim("login", userLogin).claim("application", application).issuer(isuer).issueTime(now)
.expirationTime(expiration); // Do not ask why we need a "-" here ... this have no meaning
// add right if needed:
if (rights != null && !rights.isEmpty()) {
if (rights != null) {
builder.claim("right", rights);
}
// Prepare JWT with claims set

View File

@@ -1 +1 @@
0.19.0
0.19.2