Package com.evolveum.midpoint.common
Class RoleMiningExportUtils
- java.lang.Object
-
- com.evolveum.midpoint.common.RoleMiningExportUtils
-
- All Implemented Interfaces:
Serializable
public class RoleMiningExportUtils extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoleMiningExportUtils.NameMode
static class
RoleMiningExportUtils.SecurityMode
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_ROLE_IDENTIFIER
static String
BUSINESS_ROLE_IDENTIFIER
-
Constructor Summary
Constructors Constructor Description RoleMiningExportUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable String
determineRoleCategory(String name, List<String> applicationRolePrefix, List<String> businessRolePrefix, List<String> applicationRoleSuffix, List<String> businessRoleSuffix)
static String
encryptedUUID(String oid, RoleMiningExportUtils.SecurityMode securityMode, String key)
static AssignmentType
encryptObjectReference(@NotNull AssignmentType assignmentObject, RoleMiningExportUtils.SecurityMode securityMode, String key)
static PolyStringType
encryptOrgName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
static PolyStringType
encryptRoleName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
static PolyStringType
encryptUserName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
static @NotNull String
updateEncryptKey(@NotNull RoleMiningExportUtils.SecurityMode securityMode)
-
-
-
Field Detail
-
APPLICATION_ROLE_IDENTIFIER
public static final String APPLICATION_ROLE_IDENTIFIER
- See Also:
- Constant Field Values
-
BUSINESS_ROLE_IDENTIFIER
public static final String BUSINESS_ROLE_IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
encryptUserName
public static PolyStringType encryptUserName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
-
encryptOrgName
public static PolyStringType encryptOrgName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
-
encryptRoleName
public static PolyStringType encryptRoleName(String name, int iterator, RoleMiningExportUtils.NameMode nameMode, String key)
-
encryptObjectReference
public static AssignmentType encryptObjectReference(@NotNull @NotNull AssignmentType assignmentObject, RoleMiningExportUtils.SecurityMode securityMode, String key)
-
encryptedUUID
public static String encryptedUUID(String oid, RoleMiningExportUtils.SecurityMode securityMode, String key)
-
updateEncryptKey
@NotNull public static @NotNull String updateEncryptKey(@NotNull @NotNull RoleMiningExportUtils.SecurityMode securityMode)
-
-