FluentTestsHelper
.@Deprecated public class TestsHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
appName
Deprecated.
|
static String |
baseUrl
Deprecated.
|
protected static String |
clientConfiguration
Deprecated.
|
static String |
initialAccessCode
Deprecated.
|
static int |
initialAccessTokenCount
Deprecated.
|
static String |
keycloakBaseUrl
Deprecated.
|
protected static String |
registrationAccessCode
Deprecated.
|
static String |
testRealm
Deprecated.
|
Constructor and Description |
---|
TestsHelper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
createClient(org.keycloak.representations.idm.ClientRepresentation clientRepresentation)
Deprecated.
|
static String |
createDirectGrantClient()
Deprecated.
|
static boolean |
createTestUser(String username,
String password,
String realmName)
Deprecated.
|
static void |
deleteClient(String clientId)
Deprecated.
|
static boolean |
deleteRealm(String username,
String password,
String realmName)
Deprecated.
|
static String |
getCreatedId(javax.ws.rs.core.Response response)
Deprecated.
|
static String |
getToken(String username,
String password,
String realm)
Deprecated.
|
static boolean |
importTestRealm(String username,
String password)
Deprecated.
|
static boolean |
importTestRealm(String username,
String password,
String realmJsonPath)
Deprecated.
|
static boolean |
returnsForbidden(String endpoint)
Deprecated.
|
static boolean |
testGetWithAuth(String endpoint,
String token)
Deprecated.
|
public static String baseUrl
public static String keycloakBaseUrl
public static String testRealm
public static String initialAccessCode
public static String appName
public static int initialAccessTokenCount
protected static String clientConfiguration
protected static String registrationAccessCode
public static String createClient(org.keycloak.representations.idm.ClientRepresentation clientRepresentation)
public static String createDirectGrantClient()
public static void deleteClient(String clientId)
public static boolean testGetWithAuth(String endpoint, String token) throws IOException
IOException
public static boolean returnsForbidden(String endpoint) throws IOException
IOException
public static boolean importTestRealm(String username, String password, String realmJsonPath) throws IOException
IOException
public static boolean importTestRealm(String username, String password) throws IOException
IOException
public static boolean deleteRealm(String username, String password, String realmName) throws IOException
IOException
public static boolean createTestUser(String username, String password, String realmName) throws IOException
IOException
public static String getCreatedId(javax.ws.rs.core.Response response)
Copyright © 2018 JBoss by Red Hat. All rights reserved.