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