support Keycloak 24.0.1
This commit is contained in:
parent
766751f3fa
commit
b138f306ec
6
pom.xml
6
pom.xml
@ -8,12 +8,12 @@
|
||||
|
||||
<groupId>de.cantorgymnasium</groupId>
|
||||
<artifactId>keycloak-mailcow</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<version.keycloak>23.0.1</version.keycloak>
|
||||
<version.springsec>6.2.1</version.springsec>
|
||||
<version.keycloak>24.0.1</version.keycloak>
|
||||
<version.springsec>6.2.3</version.springsec>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@ import java.util.Map;
|
||||
|
||||
import org.keycloak.common.util.MultivaluedHashMap;
|
||||
import org.keycloak.component.ComponentModel;
|
||||
import org.keycloak.credential.LegacyUserCredentialManager;
|
||||
import org.keycloak.credential.UserCredentialManager;
|
||||
import org.keycloak.models.KeycloakSession;
|
||||
import org.keycloak.models.RealmModel;
|
||||
import org.keycloak.models.SubjectCredentialManager;
|
||||
@ -130,6 +130,6 @@ class mailcowUser extends AbstractUserAdapter {
|
||||
|
||||
@Override
|
||||
public SubjectCredentialManager credentialManager() {
|
||||
return new LegacyUserCredentialManager(session, realm, this);
|
||||
return new UserCredentialManager(session, realm, this);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user