MAJOR: Complete OIDC migration - Remove JWT custom auth, integrate Keycloak OIDC
- Remove quarkus-smallrye-jwt extension - Delete JwtService, AuthServiceImpl, AuthService interface - Replace AuthResource with OIDC-based implementation - Update SecurityService to use SecurityIdentity instead of JWT - Configure OIDC with Keycloak (bearer-only backend) - Add PostgreSQL configuration - Update entity relationships and database migrations - Remove JWT-related tests and configurations BREAKING CHANGE: Authentication now requires Keycloak OIDC tokens
This commit is contained in:
@@ -177,6 +177,18 @@ public class Client extends BaseEntity {
|
||||
@Size(max = 100, message = "La source d'acquisition ne peut pas dépasser 100 caractères")
|
||||
private String acquisitionSource;
|
||||
|
||||
/**
|
||||
* Date de début de service.
|
||||
*/
|
||||
@Column(name = "service_start_date")
|
||||
private LocalDate serviceStartDate;
|
||||
|
||||
/**
|
||||
* Date de fin de service.
|
||||
*/
|
||||
@Column(name = "service_end_date")
|
||||
private LocalDate serviceEndDate;
|
||||
|
||||
/**
|
||||
* Constructeur par défaut.
|
||||
*/
|
||||
@@ -492,6 +504,22 @@ public class Client extends BaseEntity {
|
||||
this.acquisitionSource = acquisitionSource;
|
||||
}
|
||||
|
||||
public LocalDate getServiceStartDate() {
|
||||
return serviceStartDate;
|
||||
}
|
||||
|
||||
public void setServiceStartDate(LocalDate serviceStartDate) {
|
||||
this.serviceStartDate = serviceStartDate;
|
||||
}
|
||||
|
||||
public LocalDate getServiceEndDate() {
|
||||
return serviceEndDate;
|
||||
}
|
||||
|
||||
public void setServiceEndDate(LocalDate serviceEndDate) {
|
||||
this.serviceEndDate = serviceEndDate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Client{" +
|
||||
@@ -512,17 +540,22 @@ public class Client extends BaseEntity {
|
||||
* Prospect - pas encore client.
|
||||
*/
|
||||
PROSPECT,
|
||||
|
||||
|
||||
/**
|
||||
* Client actif.
|
||||
*/
|
||||
ACTIVE,
|
||||
|
||||
|
||||
/**
|
||||
* Client inactif.
|
||||
*/
|
||||
INACTIVE,
|
||||
|
||||
|
||||
/**
|
||||
* Client suspendu.
|
||||
*/
|
||||
SUSPENDED,
|
||||
|
||||
/**
|
||||
* Ancien client.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user