Class AuthorizationMigrator
java.lang.Object
com.evolveum.midpoint.model.impl.security.AuthorizationMigrator
Migrates authorizations from a legacy format into a new one.
For example, when going from 4.4/4.7 to 4.8, `#readOwnCertificationDecisions`
is replaced by `#read` on `AccessCertificationWorkItemType` objects.
The migration occurs automatically when creating
Authorization
objects from assignments
by `TargetPayloadEvaluation` class.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<AuthorizationType>
migrate
(@NotNull AuthorizationType original)
-
Constructor Details
-
AuthorizationMigrator
public AuthorizationMigrator()
-
-
Method Details
-
migrate
@NotNull public @NotNull Collection<AuthorizationType> migrate(@NotNull @NotNull AuthorizationType original)
-