commit
8cc7676335
2 files changed
+6
No files matched your search
@@ -43,4 +43,5 @@ public interface KeycloakSession {
|
||||
|
||||
void close();
|
||||
|
||||
void enlist(KeycloakTransaction transaction);
|
||||
}
|
||||
@@ -140,6 +140,11 @@ public class DefaultKeycloakSession implements KeycloakSession {
|
||||
return providers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void enlist(KeycloakTransaction transaction) {
|
||||
managedTransactions.add(transaction);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ModelProvider model() {
|
||||
if (!transaction.isActive()) throw new IllegalStateException("Transaction is not active");
|
||||
|
||||
Reference in new issue
Block a user