Interface RealmResource
public interface RealmResource
- Author:
- rodrigo.sasaki@icarros.com.br
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDefaultDefaultClientScope
(String clientScopeId) void
addDefaultGroup
(String groupId) void
addDefaultOptionalClientScope
(String clientScopeId) void
void
void
void
void
clients()
convertClientDescription
(String description) void
deleteSession
(String sessionId, boolean offline) flows()
getAdminEvents
(List<String> operationTypes, String authRealm, String authClient, String authUser, String authIpAddress, String resourcePath, String dateFrom, String dateTo, Integer firstResult, Integer maxResults) getAdminEvents
(List<String> operationTypes, String authRealm, String authClient, String authUser, String authIpAddress, String resourcePath, List<String> resourceTypes, String dateFrom, String dateTo, Integer firstResult, Integer maxResults) getEvents
(List<String> types, String client, String user, String dateFrom, String dateTo, String ipAddress, Integer firstResult, Integer maxResults) getGroupByPath
(String path) groups()
keys()
partialExport
(Boolean exportGroupsAndRoles, Boolean exportClients) jakarta.ws.rs.core.Response
void
remove()
void
removeDefaultDefaultClientScope
(String clientScopeId) void
removeDefaultGroup
(String groupId) void
removeDefaultOptionalClientScope
(String clientScopeId) roles()
jakarta.ws.rs.core.Response
testLDAPConnection
(String action, String connectionUrl, String bindDn, String bindCredential, String useTruststoreSpi, String connectionTimeout) Deprecated.jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
testSMTPConnection
(String config) Deprecated.jakarta.ws.rs.core.Response
testSMTPConnection
(Map<String, String> config) void
update
(RealmRepresentation realmRepresentation) void
users()
-
Method Details
-
toRepresentation
-
update
-
clients
-
clientScopes
-
getDefaultDefaultClientScopes
@GET @Produces("application/json") @Path("default-default-client-scopes") List<ClientScopeRepresentation> getDefaultDefaultClientScopes() -
addDefaultDefaultClientScope
@PUT @Path("default-default-client-scopes/{clientScopeId}") void addDefaultDefaultClientScope(@PathParam("clientScopeId") String clientScopeId) -
removeDefaultDefaultClientScope
@DELETE @Path("default-default-client-scopes/{clientScopeId}") void removeDefaultDefaultClientScope(@PathParam("clientScopeId") String clientScopeId) -
getDefaultOptionalClientScopes
@GET @Produces("application/json") @Path("default-optional-client-scopes") List<ClientScopeRepresentation> getDefaultOptionalClientScopes() -
addDefaultOptionalClientScope
@PUT @Path("default-optional-client-scopes/{clientScopeId}") void addDefaultOptionalClientScope(@PathParam("clientScopeId") String clientScopeId) -
removeDefaultOptionalClientScope
@DELETE @Path("default-optional-client-scopes/{clientScopeId}") void removeDefaultOptionalClientScope(@PathParam("clientScopeId") String clientScopeId) -
convertClientDescription
@Path("client-description-converter") @POST @Consumes("application/json") @Produces("application/json") ClientRepresentation convertClientDescription(String description) -
users
-
roles
-
rolesById
-
groups
-
clearEvents
@DELETE @Path("events") void clearEvents() -
getEvents
-
getEvents
@Path("events") @GET @Produces("application/json") List<EventRepresentation> getEvents(@QueryParam("type") List<String> types, @QueryParam("client") String client, @QueryParam("user") String user, @QueryParam("dateFrom") String dateFrom, @QueryParam("dateTo") String dateTo, @QueryParam("ipAddress") String ipAddress, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults) -
clearAdminEvents
@DELETE @Path("admin-events") void clearAdminEvents() -
getAdminEvents
@GET @Path("admin-events") @Produces("application/json") List<AdminEventRepresentation> getAdminEvents() -
getAdminEvents
@GET @Path("admin-events") @Produces("application/json") List<AdminEventRepresentation> getAdminEvents(@QueryParam("operationTypes") List<String> operationTypes, @QueryParam("authRealm") String authRealm, @QueryParam("authClient") String authClient, @QueryParam("authUser") String authUser, @QueryParam("authIpAddress") String authIpAddress, @QueryParam("resourcePath") String resourcePath, @QueryParam("dateFrom") String dateFrom, @QueryParam("dateTo") String dateTo, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults) -
getAdminEvents
@GET @Path("admin-events") @Produces("application/json") List<AdminEventRepresentation> getAdminEvents(@QueryParam("operationTypes") List<String> operationTypes, @QueryParam("authRealm") String authRealm, @QueryParam("authClient") String authClient, @QueryParam("authUser") String authUser, @QueryParam("authIpAddress") String authIpAddress, @QueryParam("resourcePath") String resourcePath, @QueryParam("resourceTypes") List<String> resourceTypes, @QueryParam("dateFrom") String dateFrom, @QueryParam("dateTo") String dateTo, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults) -
getRealmEventsConfig
@GET @Path("events/config") @Produces("application/json") RealmEventsConfigRepresentation getRealmEventsConfig() -
updateRealmEventsConfig
@PUT @Path("events/config") @Consumes("application/json") void updateRealmEventsConfig(RealmEventsConfigRepresentation rep) -
getGroupByPath
@GET @Path("group-by-path/{path: .*}") @Produces("application/json") GroupRepresentation getGroupByPath(@PathParam("path") String path) -
getDefaultGroups
@GET @Produces("application/json") @Path("default-groups") List<GroupRepresentation> getDefaultGroups() -
addDefaultGroup
-
removeDefaultGroup
@DELETE @Path("default-groups/{groupId}") void removeDefaultGroup(@PathParam("groupId") String groupId) -
identityProviders
-
remove
@DELETE void remove() -
getClientSessionStats
-
clientInitialAccess
-
clientRegistrationPolicy
-
partialImport
@Path("partialImport") @POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response partialImport(PartialImportRepresentation rep) -
partialExport
@Path("partial-export") @POST @Produces("application/json") RealmRepresentation partialExport(@QueryParam("exportGroupsAndRoles") Boolean exportGroupsAndRoles, @QueryParam("exportClients") Boolean exportClients) -
flows
-
attackDetection
-
testLDAPConnection
@Path("testLDAPConnection") @POST @Consumes("application/x-www-form-urlencoded") @Deprecated jakarta.ws.rs.core.Response testLDAPConnection(@FormParam("action") String action, @FormParam("connectionUrl") String connectionUrl, @FormParam("bindDn") String bindDn, @FormParam("bindCredential") String bindCredential, @FormParam("useTruststoreSpi") String useTruststoreSpi, @FormParam("connectionTimeout") String connectionTimeout) Deprecated. -
testLDAPConnection
@Path("testLDAPConnection") @POST @Consumes("application/json") jakarta.ws.rs.core.Response testLDAPConnection(TestLdapConnectionRepresentation config) -
ldapServerCapabilities
@POST @Path("ldap-server-capabilities") @Consumes("application/json") @Produces("application/json") List<LDAPCapabilityRepresentation> ldapServerCapabilities(TestLdapConnectionRepresentation config) -
testSMTPConnection
@Path("testSMTPConnection") @POST @Consumes("application/x-www-form-urlencoded") @Deprecated jakarta.ws.rs.core.Response testSMTPConnection(@FormParam("config") String config) Deprecated. -
testSMTPConnection
-
clearRealmCache
@Path("clear-realm-cache") @POST void clearRealmCache() -
clearUserCache
@Path("clear-user-cache") @POST void clearUserCache() -
clearKeysCache
@Path("clear-keys-cache") @POST void clearKeysCache() -
pushRevocation
-
logoutAll
-
deleteSession
@Path("sessions/{session}") @DELETE void deleteSession(@PathParam("session") String sessionId, @DefaultValue("false") @QueryParam("isOffline") boolean offline) -
components
-
userStorage
-
keys
-
localization
-
clientPoliciesPoliciesResource
-
clientPoliciesProfilesResource
-