fix providers test
This commit is contained in:
parent
f000cedcbb
commit
39f93dfa33
2 changed files with 6 additions and 2 deletions
|
@ -146,7 +146,7 @@ public class ProvidersTest extends AbstractAuthenticationTest {
|
|||
"Validates a username and password from login form.");
|
||||
addProviderInfo(result, "auth-x509-client-username-form", "X509/Validate Username Form",
|
||||
"Validates username and password from X509 client certificate received as a part of mutual SSL handshake.");
|
||||
addProviderInfo(result, "cli-username-password", "Username Password Challenge",
|
||||
addProviderInfo(result, "console-username-password", "Username Password Challenge",
|
||||
"Proprietary challenge protocol for CLI clients that queries for username password");
|
||||
addProviderInfo(result, "direct-grant-auth-x509-username", "X509/Validate Username",
|
||||
"Validates username and password from X509 client certificate received as a part of mutual SSL handshake.");
|
||||
|
|
|
@ -135,6 +135,10 @@ public class KcinitTest extends AbstractTestRealmKeycloakTest {
|
|||
user = session.users().addUser(realm, "wburke");
|
||||
session.userCredentialManager().updateCredential(realm, user, UserCredentialModel.password("password"));
|
||||
user.setEnabled(true);
|
||||
user = session.users().addUser(realm, "tbrady");
|
||||
session.userCredentialManager().updateCredential(realm, user, UserCredentialModel.password("password"));
|
||||
user.setEnabled(true);
|
||||
user.addRequiredAction(UserModel.RequiredAction.UPDATE_PASSWORD);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -157,7 +161,7 @@ public class KcinitTest extends AbstractTestRealmKeycloakTest {
|
|||
|
||||
});
|
||||
|
||||
Thread.sleep(10000000);
|
||||
Thread.sleep(100000000);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue