policy.json revision bae0f27fde2298fc261664f259a70326ffb07a27
0N/A{
0N/A "type" : "text/javascript",
0N/A "file" : "script/policy.js",
0N/A "resources" : [
0N/A {
0N/A "resource" : "managed/user/*",
0N/A "properties" : [
0N/A {
0N/A "name" : "userName",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "unique"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "password",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "at-least-X-capitals",
0N/A "params" : {
0N/A "numCaps" : 1
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "at-least-X-numbers",
0N/A "params" : {
0N/A "numNums" : 1
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "minimum-length",
0N/A "params" : {
0N/A "minLength" : 8
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "cannot-contain-others",
0N/A "params" : {
0N/A "disallowedFields" : "userName,givenName,familyName"
0N/A }
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "email",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "valid-email-address-format"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "givenName",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "valid-name-format"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "familyName",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "valid-name-format"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "phoneNumber",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "valid-phone-format"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "securityQuestion",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required-if-configured",
0N/A "params" : {
0N/A "configBase" : "ui/configuration",
0N/A "baseKey" : "configuration.securityQuestions"
0N/A }
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "securityAnswer",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required-if-configured",
0N/A "params" : {
0N/A "configBase" : "ui/configuration",
0N/A "baseKey" : "configuration.securityQuestions"
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "minimum-length",
0N/A "params" : {
0N/A "minLength" : 16
0N/A }
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "securityAnswerAttempts",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "max-attempts-triggers-lock-cooldown",
0N/A "params" : {
0N/A "max" : 3,
0N/A "numMinutes" : 15,
0N/A "dateTimeField" : "lastSecurityAnswerAttempt"
0N/A }
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "lastSecurityAnswerAttempt",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "valid-date"
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "name" : "passPhrase",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "minimum-length",
0N/A "params" : {
0N/A "minLength" : 4
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "required-if-configured",
0N/A "params" : {
0N/A "configBase" : "ui/configuration",
0N/A "baseKey" : "configuration.siteIdentification"
0N/A }
0N/A }
0N/A ]
0N/A }
0N/A ]
0N/A },
0N/A {
0N/A "resource" : "repo/internal/user/*",
0N/A "properties" : [
0N/A {
0N/A "name" : "password",
0N/A "policies" : [
0N/A {
0N/A "policyId" : "required"
0N/A },
0N/A {
0N/A "policyId" : "not-empty"
0N/A },
0N/A {
0N/A "policyId" : "at-least-X-capitals",
0N/A "params" : {
0N/A "numCaps" : 1
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "at-least-X-numbers",
0N/A "params" : {
0N/A "numNums" : 1
0N/A }
0N/A },
0N/A {
0N/A "policyId" : "minimum-length",
0N/A "params" : {
0N/A "minLength" : 8
0N/A }
0N/A }
0N/A ]
0N/A }
0N/A ]
0N/A }
0N/A ]
0N/A}