Zetect Usage Guide Connector GuideSwitch portal ⇄

Build

Implement the Connector interface, understand which method handles which Zetect action, and package it as a fat JAR.

The Connector interface

1

Which method is called?

ActionMethod
IDENTITY_SYNC, SYNC_USER, SYNC_GROUPhandle()
CREATE_ACCOUNT, UPDATE_ACCOUNT, ADD_TO_GROUP, DELETE_ACCOUNT, REMOVE_FROM_GROUP, RESET_PASSWORDhandleProvisioning()

See connector-requests-responses for the full request/response shape of every one of these, worked through against a complete example connector that implements all of them.

pom.xml essentials

DependencyScope
io.cyiam:cyiam-connector-apiprovided — the agent's classloader owns it; bundling it breaks classloader isolation.
jackson-databind, slf4j-apiprovided — same reason.
Everything elseDefault (compile) scope — bundled into the fat JAR by the shade plugin.

The shade plugin must strip JAR signatures (META-INF/*.SF, *.DSA, *.RSA) or a signed dependency bundled transitively will throw SecurityException at class-load time.

Build the JAR

10