Class SecurityPolicyUtil
java.lang.Object
com.evolveum.midpoint.schema.util.SecurityPolicyUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static AuthenticationsPolicyType
createDefaultAuthenticationPolicy
(List<String> customIgnoredLocalPaths, SchemaRegistry schemaRegistry) static AuthenticationSequenceType
static AuthenticationSequenceType
findSequenceByIdentifier
(@NotNull SecurityPolicyType securityPolicy, String identifier) static NonceCredentialsPolicyType
getCredentialPolicy
(String policyName, SecurityPolicyType securityPolicy) static SelfRegistrationPolicyType
getSelfRegistrationPolicy
(SecurityPolicyType securityPolicyType) static List<AuthenticationSequenceModuleType>
getSortedModules
(AuthenticationSequenceType sequence)
-
Field Details
-
DEFAULT_CHANNEL
-
DEFAULT_MODULE_IDENTIFIER
- See Also:
-
DEFAULT_SEQUENCE_IDENTIFIER
- See Also:
-
DEFAULT_SEQUENCE_DISPLAY_IDENTIFIER
- See Also:
-
NO_CUSTOM_IGNORED_LOCAL_PATH
Constant representing no custom ignored local paths (can be null or empty collection).
-
-
Constructor Details
-
SecurityPolicyUtil
public SecurityPolicyUtil()
-
-
Method Details
-
getCredentialPolicy
public static NonceCredentialsPolicyType getCredentialPolicy(String policyName, SecurityPolicyType securityPolicy) throws SchemaException - Throws:
SchemaException
-
getSortedModules
public static List<AuthenticationSequenceModuleType> getSortedModules(AuthenticationSequenceType sequence) -
compareOrders
public static int compareOrders(AuthenticationSequenceModuleType f1, AuthenticationSequenceModuleType f2) -
createDefaultAuthenticationPolicy
public static AuthenticationsPolicyType createDefaultAuthenticationPolicy(List<String> customIgnoredLocalPaths, SchemaRegistry schemaRegistry) throws SchemaException - Throws:
SchemaException
-
createDefaultSequence
-
getSelfRegistrationPolicy
public static SelfRegistrationPolicyType getSelfRegistrationPolicy(SecurityPolicyType securityPolicyType) -
findSequenceByIdentifier
public static AuthenticationSequenceType findSequenceByIdentifier(@NotNull @NotNull SecurityPolicyType securityPolicy, String identifier)
-