Package org.keycloak.partialimport
Class ClientRolesPartialImport
java.lang.Object
org.keycloak.partialimport.ClientRolesPartialImport
Partial Import handler for Client Roles.
- Author:
- Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadded
(String clientId, String modelId, RoleRepresentation roleRep) void
deleteRole
(RealmModel realm, String clientId, RoleRepresentation roleRep) protected ErrorResponseException
boolean
exists
(RealmModel realm, KeycloakSession session, String clientId, RoleRepresentation roleRep) existsMessage
(String clientId, RoleRepresentation roleRep) getCombinedName
(String clientId, RoleRepresentation roleRep) getModelId
(RealmModel realm, String clientId) getName
(RoleRepresentation roleRep) getRepList
(PartialImportRepresentation partialImportRep) protected ErrorResponseException
noClientFound
(String clientId) overwritten
(String clientId, String modelId, RoleRepresentation roleRep) void
prepare
(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session) skipped
(String clientId, String modelId, RoleRepresentation roleRep)
-
Constructor Details
-
ClientRolesPartialImport
public ClientRolesPartialImport()
-
-
Method Details
-
getToOverwrite
-
getToSkip
-
getRepList
public Map<String,List<RoleRepresentation>> getRepList(PartialImportRepresentation partialImportRep) -
getName
-
getCombinedName
-
exists
public boolean exists(RealmModel realm, KeycloakSession session, String clientId, RoleRepresentation roleRep) -
existsMessage
-
getResourceType
-
deleteRole
-
prepare
public void prepare(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session) -
exists
-
noClientFound
-
overwritten
-
skipped
-
added
-
getModelId
-