Class AdminEventBuilder
java.lang.Object
org.keycloak.services.resources.admin.AdminEventBuilder
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionAdminEventBuilder(RealmModel realm, AdminAuth auth, KeycloakSession session, ClientConnection clientConnection) 
- 
Method SummaryModifier and TypeMethodDescriptionauthClient(ClientModel client) authIpAddress(String ipAddress) authRealm(RealmModel realm) clone(KeycloakSession session) Create a new instance of theAdminEventBuilderthat is bound to a new session.getEvent()operation(OperationType operationType) realm(RealmModel realm) refreshRealmEventsConfig(KeycloakSession session) Refreshes the builder assuming that the realm event information has changed.representation(Object value) Setter for custom resource types with values different fromResourceType.resource(ResourceType resourceType) resourcePath(jakarta.ws.rs.core.UriInfo uriInfo) resourcePath(jakarta.ws.rs.core.UriInfo uriInfo, String id) resourcePath(String... pathElements) voidsuccess()
- 
Field Details- 
loggerprotected static final org.jboss.logging.Logger logger
 
- 
- 
Constructor Details- 
AdminEventBuilderpublic AdminEventBuilder(RealmModel realm, AdminAuth auth, KeycloakSession session, ClientConnection clientConnection) 
 
- 
- 
Method Details- 
cloneCreate a new instance of theAdminEventBuilderthat is bound to a new session. Use this when starting, for example, a nested transaction.- Parameters:
- session- new session where the- AdminEventBuildershould be bound to.
- Returns:
- a new instance of AdminEventBuilder
 
- 
realm
- 
realm
- 
refreshRealmEventsConfigRefreshes the builder assuming that the realm event information has changed. Thought to be used when the updateRealmEventsConfig has modified the events configuration. Now the store and the listeners are updated to have previous and new setup.- Parameters:
- session- The session
- Returns:
- The same builder
 
- 
operation
- 
resource
- 
resourceSetter for custom resource types with values different fromResourceType.
- 
authRealm
- 
authClient
- 
authUser
- 
authIpAddress
- 
resourcePath
- 
resourcePath
- 
resourcePath
- 
representation
- 
getEvent
- 
successpublic void success()
 
-