Class OpenFGAStoreManager
java.lang.Object
org.apache.syncope.ext.openfga.client.OpenFGAStoreManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final OpenFGAClientFactoryprotected static final Loggerprotected final RelationshipTypeDAO -
Constructor Summary
ConstructorsConstructorDescriptionOpenFGAStoreManager(OpenFGAClientFactory clientFactory, RelationshipTypeDAO relationshipTypeDAO) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringanyMembership(AnyType anyType) voidentity(EntityLifecycleEvent<Entity> event) voidhandle(OpenFGAClient openfgaClient, SyncDeltaType eventType, Any any) voidhandle(OpenFGAClient openfgaClient, SyncDeltaType eventType, AnyType anyType) voidhandle(OpenFGAClient openfgaClient, SyncDeltaType eventType, RelationshipType relationshipType) protected static Stringprotected static Stringprotected static String
-
Field Details
-
LOG
-
clientFactory
-
relationshipTypeDAO
-
-
Constructor Details
-
OpenFGAStoreManager
public OpenFGAStoreManager(OpenFGAClientFactory clientFactory, RelationshipTypeDAO relationshipTypeDAO)
-
-
Method Details
-
anyMembership
-
type
-
type
-
id
-
handle
public void handle(OpenFGAClient openfgaClient, SyncDeltaType eventType, AnyType anyType) throws ApiException - Throws:
ApiException
-
handle
public void handle(OpenFGAClient openfgaClient, SyncDeltaType eventType, RelationshipType relationshipType) throws ApiException - Throws:
ApiException
-
handle
public void handle(OpenFGAClient openfgaClient, SyncDeltaType eventType, Any any) throws ApiException - Throws:
ApiException
-
entity
@Transactional(propagation=REQUIRES_NEW, readOnly=true) @TransactionalEventListener public void entity(EntityLifecycleEvent<Entity> event) throws IOException - Throws:
IOException
-