Class SecurityPolicyUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.SecurityPolicyUtil
-
public class SecurityPolicyUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTUATOR_SEQUENCE_NAME
static String
DEFAULT_CHANNEL
static String
DEFAULT_MODULE_NAME
static String
DEFAULT_SEQUENCE_DISPLAY_NAME
static String
DEFAULT_SEQUENCE_NAME
static String
HTTP_BASIC_MODULE_NAME
static List<String>
NO_CUSTOM_IGNORED_LOCAL_PATH
Constant representing no custom ignored local paths (can be null or empty collection).static String
PASSWORD_RESET_SEQUENCE_NAME
static String
REST_SEQUENCE_NAME
-
Constructor Summary
Constructors Constructor Description SecurityPolicyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationsPolicyType
createDefaultAuthenticationPolicy(List<String> customIgnoredLocalPaths, SchemaRegistry schemaRegistry)
static AuthenticationSequenceType
createDefaultSequence()
static AuthenticationSequenceType
createPasswordResetSequence()
static AbstractAuthenticationPolicyType
getAuthenticationPolicy(String authPolicyName, SecurityPolicyType securityPolicy)
static NonceCredentialsPolicyType
getCredentialPolicy(String policyName, SecurityPolicyType securityPolicy)
static SelfRegistrationPolicyType
getSelfRegistrationPolicy(SecurityPolicyType securityPolicyType)
static List<AuthenticationSequenceModuleType>
getSortedModules(AuthenticationSequenceType sequence)
-
-
-
Field Detail
-
DEFAULT_CHANNEL
public static final String DEFAULT_CHANNEL
-
DEFAULT_MODULE_NAME
public static final String DEFAULT_MODULE_NAME
- See Also:
- Constant Field Values
-
HTTP_BASIC_MODULE_NAME
public static final String HTTP_BASIC_MODULE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_SEQUENCE_NAME
public static final String DEFAULT_SEQUENCE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_SEQUENCE_DISPLAY_NAME
public static final String DEFAULT_SEQUENCE_DISPLAY_NAME
- See Also:
- Constant Field Values
-
REST_SEQUENCE_NAME
public static final String REST_SEQUENCE_NAME
- See Also:
- Constant Field Values
-
ACTUATOR_SEQUENCE_NAME
public static final String ACTUATOR_SEQUENCE_NAME
- See Also:
- Constant Field Values
-
PASSWORD_RESET_SEQUENCE_NAME
public static final String PASSWORD_RESET_SEQUENCE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAuthenticationPolicy
public static AbstractAuthenticationPolicyType getAuthenticationPolicy(String authPolicyName, SecurityPolicyType securityPolicy) throws SchemaException
- Throws:
SchemaException
-
getCredentialPolicy
public static NonceCredentialsPolicyType getCredentialPolicy(String policyName, SecurityPolicyType securityPolicy) throws SchemaException
- Throws:
SchemaException
-
getSortedModules
public static List<AuthenticationSequenceModuleType> getSortedModules(AuthenticationSequenceType sequence)
-
createDefaultAuthenticationPolicy
public static AuthenticationsPolicyType createDefaultAuthenticationPolicy(List<String> customIgnoredLocalPaths, SchemaRegistry schemaRegistry) throws SchemaException
- Throws:
SchemaException
-
createDefaultSequence
public static AuthenticationSequenceType createDefaultSequence()
-
createPasswordResetSequence
public static AuthenticationSequenceType createPasswordResetSequence()
-
getSelfRegistrationPolicy
public static SelfRegistrationPolicyType getSelfRegistrationPolicy(SecurityPolicyType securityPolicyType)
-
-