Add a META-INF/beans.xml file to enable support for JAX-RS (#4074)
Closes #4073
This commit is contained in:
parent
23a6315726
commit
972a5de8c7
4 changed files with 8 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -39,3 +39,7 @@ server
|
|||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Intellij
|
||||
.idea
|
||||
*.iml
|
||||
|
|
|
@ -27,9 +27,6 @@ import org.keycloak.models.utils.DefaultAuthenticationFlows;
|
|||
import org.keycloak.services.resources.admin.permissions.AdminPermissionEvaluator;
|
||||
|
||||
|
||||
@Path("/")
|
||||
@Consumes({"application/json"})
|
||||
@Produces({"application/json"})
|
||||
public class AuthenticationManagementResource extends RoleMappingResource {
|
||||
private final KeycloakSession session;
|
||||
|
||||
|
@ -45,6 +42,8 @@ public class AuthenticationManagementResource extends RoleMappingResource {
|
|||
|
||||
@GET
|
||||
@Path("/flows")
|
||||
@Consumes({"application/json"})
|
||||
@Produces({"application/json"})
|
||||
@Operation(
|
||||
summary = "List all authentication flows for this realm",
|
||||
description = "This endpoint returns all the authentication flows and lists if there they are used."
|
||||
|
@ -72,6 +71,8 @@ public class AuthenticationManagementResource extends RoleMappingResource {
|
|||
|
||||
@GET
|
||||
@Path("/{type}/{id}")
|
||||
@Consumes({"application/json"})
|
||||
@Produces({"application/json"})
|
||||
@Operation(
|
||||
summary = "List all clients or identity providers that this flow is used by",
|
||||
description = "List all the clients or identity providers this flow is used by as a paginated list"
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.keycloak.services.resources.admin.permissions.AdminPermissionEvaluato
|
|||
import org.keycloak.services.resources.admin.permissions.UserPermissionEvaluator;
|
||||
import org.keycloak.utils.SearchQueryUtils;
|
||||
|
||||
@Path("/")
|
||||
public class BruteForceUsersResource {
|
||||
private static final Logger logger = Logger.getLogger(BruteForceUsersResource.class);
|
||||
private static final String SEARCH_ID_PARAMETER = "id:";
|
||||
|
|
0
keycloak-theme/src/main/resources/META-INF/beans.xml
Normal file
0
keycloak-theme/src/main/resources/META-INF/beans.xml
Normal file
Loading…
Reference in a new issue