Interface Validator
-
- All Superinterfaces:
BaseValidator
- All Known Implementing Classes:
YamlValidator
public interface Validator extends BaseValidator
Validates Yaml ACL content
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.dtolabs.rundeck.core.authorization.RuleSetValidation<PolicyCollection>validateYamlPolicy(java.lang.String project, java.lang.String ident, java.io.File source)Validate the yaml aclpolicy, optionally within a specific project contextcom.dtolabs.rundeck.core.authorization.RuleSetValidation<PolicyCollection>validateYamlPolicy(java.lang.String project, java.lang.String ident, java.lang.String text)Validate the yaml aclpolicy, optionally within a specific project context-
Methods inherited from interface com.dtolabs.rundeck.core.authorization.providers.BaseValidator
validateYamlPolicy, validateYamlPolicy, validateYamlPolicy
-
-
-
-
Method Detail
-
validateYamlPolicy
com.dtolabs.rundeck.core.authorization.RuleSetValidation<PolicyCollection> validateYamlPolicy(java.lang.String project, java.lang.String ident, java.io.File source) throws java.io.IOException
Validate the yaml aclpolicy, optionally within a specific project context- Parameters:
project- name of project to force the context of all policies, or null to not force a contextident- identity string for the sourcessource- file source- Returns:
- validation
- Throws:
java.io.IOException
-
validateYamlPolicy
com.dtolabs.rundeck.core.authorization.RuleSetValidation<PolicyCollection> validateYamlPolicy(java.lang.String project, java.lang.String ident, java.lang.String text) throws java.io.IOException
Validate the yaml aclpolicy, optionally within a specific project context- Parameters:
project- name of project to force the context of all policies, or null to not force a contextident- identity string for the sourcestext- yaml aclpolicy text- Returns:
- validation
- Throws:
java.io.IOException
-
-