Package org.keycloak.test
Class TestsHelper
java.lang.Object
org.keycloak.test.TestsHelper
Deprecated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateClient(org.keycloak.representations.idm.ClientRepresentation clientRepresentation) Deprecated.static StringDeprecated.static booleancreateTestUser(String username, String password, String realmName) Deprecated.static voiddeleteClient(String clientId) Deprecated.static booleandeleteRealm(String username, String password, String realmName) Deprecated.static StringgetCreatedId(jakarta.ws.rs.core.Response response) Deprecated.static StringDeprecated.static booleanimportTestRealm(String username, String password) Deprecated.static booleanimportTestRealm(String username, String password, String realmJsonPath) Deprecated.static booleanreturnsForbidden(String endpoint) Deprecated.static booleantestGetWithAuth(String endpoint, String token) Deprecated.
-
Field Details
-
baseUrl
Deprecated. -
keycloakBaseUrl
Deprecated. -
testRealm
Deprecated. -
initialAccessCode
Deprecated. -
appName
Deprecated. -
initialAccessTokenCount
public static int initialAccessTokenCountDeprecated. -
clientConfiguration
Deprecated. -
registrationAccessCode
Deprecated.
-
-
Constructor Details
-
TestsHelper
public TestsHelper()Deprecated.
-
-
Method Details
-
createClient
public static String createClient(org.keycloak.representations.idm.ClientRepresentation clientRepresentation) Deprecated. -
createDirectGrantClient
Deprecated. -
deleteClient
Deprecated. -
testGetWithAuth
Deprecated.- Throws:
IOException
-
returnsForbidden
Deprecated.- Throws:
IOException
-
getToken
Deprecated. -
importTestRealm
public static boolean importTestRealm(String username, String password, String realmJsonPath) throws IOException Deprecated.- Throws:
IOException
-
importTestRealm
Deprecated.- Throws:
IOException
-
deleteRealm
public static boolean deleteRealm(String username, String password, String realmName) throws IOException Deprecated.- Throws:
IOException
-
createTestUser
public static boolean createTestUser(String username, String password, String realmName) throws IOException Deprecated.- Throws:
IOException
-
getCreatedId
Deprecated.
-
FluentTestsHelper.