| /forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/ |
| H A D | Base64.java | 42 char[] out = new char[((data.length + 2) / 3) * 4]; 48 for (int i = 0, index = 0; i < data.length; i += 3, index += 4) { 52 int val = (0xFF & (int) data[i]); 53 val <<= 8; 54 if ((i + 1) < data.length) { 55 val |= (0xFF & (int) data[i + 1]); 58 val <<= 8; 59 if ((i + 2) < data.length) { 60 val |= (0xFF & (int) data[i + 2]); 63 out[index + 3] = alphabet[(quad ? (val [all...] |
| /forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/ |
| H A D | Base64.java | 42 char[] out = new char[((data.length + 2) / 3) * 4]; 48 for (int i = 0, index = 0; i < data.length; i += 3, index += 4) { 52 int val = (0xFF & (int) data[i]); 53 val <<= 8; 54 if ((i + 1) < data.length) { 55 val |= (0xFF & (int) data[i + 1]); 58 val <<= 8; 59 if ((i + 2) < data.length) { 60 val |= (0xFF & (int) data[i + 2]); 63 out[index + 3] = alphabet[(quad ? (val [all...] |
| /forgerock/openidm-v4/openidm-system/src/main/java/org/forgerock/openidm/core/ |
| H A D | PropertyUtil.java | 79 * @param val 85 public static Object substVars(String val, final PropertyAccessor propertyAccessor, argument 87 return substVars(val, propertyAccessor, Delimiter.AMPERSAND, doEscape); 91 public static Object substVars(String val, final PropertyAccessor propertyAccessor, argument 101 stopDelim = val.indexOf(DELIM_STOP, stopDelim + 1); 105 return val; 107 startDelim = val.indexOf(delimiter.getStartString()); 111 return val; 115 StringBuilder parentBuilder = new StringBuilder(val.length()); [all...] |
| /forgerock/openam/openam-core/src/main/java/com/sun/identity/common/configuration/ |
| H A D | ListValueValidator.java | 86 if (value.length() > 0) {
121 for (String val : values) {
127 if (val.length() > 0) {
129 int startIndex = val.indexOf("[");
130 int endIndex = val.indexOf("]");
131 val = val.substring(startIndex+1, endIndex).trim();
133 indexNumber = Integer.parseInt(val);
141 if (!keySet.add(val)) {
[all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/test/qunit/connector/ |
| H A D | addConnectorTest.js | 39 QUnit.equal(addConnector.$el.find(".back-bar a").length, 1, "Return link loaded"); 41 QUnit.equal(addConnector.$el.find("#connectorName").length, 1, "Connector base loaded"); 43 QUnit.equal(addConnector.$el.find("#csvFilePath").length, 1, "Connector details loaded"); 45 QUnit.equal(addConnector.$el.find("#connectorType option").length, 4, "Connector select populated"); 49 addConnector.$el.find("#connectorName").val("test"); 51 addConnector.$el.find("#csvFilePath").val("test"); 53 addConnector.$el.find("#csvUniqueAttribute").val("csvUniqueAttribute"); 55 addConnector.$el.find("#csvNameAttribute").val("csvUniqueAttribute"); 60 addConnector.$el.find("#connectorType").val("org.forgerock.openicf.connectors.xml.XMLConnector_1.1.0.2");
|
| H A D | editConnectorTest.js | 37 QUnit.equal(editConnector.$el.find(".back-bar a").length, 1, "Return link loaded"); 43 QUnit.equal(editConnector.$el.find(".nav-tabs li").length, 4, "Tabs detected and tabdrop prepared"); 45 QUnit.ok(editConnector.$el.find("#connectorEnabled").val() === "true", "Connector defaults to enabled"); 47 editConnector.$el.find("input[name='configurationProperties.host']").val("1234"); 50 QUnit.equal(editConnector.$el.find(".message .connector-pending").length, 1, "Connector change message displayed"); 53 QUnit.equal(editConnector.$el.find("#selectObjectConfig").length, 1, "Prdefined object type dropdown displayed"); 55 QUnit.equal(editConnector.$el.find("#objectTypesTab table tbody tr").length, 2, "Object type table populated"); 58 QUnit.equal(editConnector.$el.find("#syncTab .sources option").length, 2, "Sync schedule sources loaded"); 62 QUnit.equal(editConnector.$el.find("#syncTab .liveSyncScheduleContainer").length, 1, "Sync schedule added"); 64 QUnit.equal(editConnector.$el.find("#syncTab #retryOptions option").length, [all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-enduser/src/main/js/config/validators/ |
| H A D | SelfServiceValidators.js | 28 var v = $(input).val(); 45 var v = $(input).val(); 59 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]').val(); 71 $(input).val(valueToReplace); 86 var valueToReplace, date, v = $(input).val(), dateFormat = $(input).parent().find('[name=dateFormat]').val(); 95 $(input).val(valueToReplace); 109 var v = $(input).val(); 114 if(v.length > 25 [all...] |
| /forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/ |
| H A D | COTUtils.java | 109 && (protocolType.trim().length() > 0) 138 String val = (String) it.next(); 140 debug.message("COTUtils.setToEntityIDMap: check " + val); 142 if (val.endsWith(SAML2_DELIM)) { 145 map.put(val.substring(0, val.length() - SAML2_DELIM.length()), 147 } else if (val.endsWith(IDFF_DELIM)) { 150 map.put(val [all...] |
| /forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/cot/ |
| H A D | COTUtils.java | 109 && (protocolType.trim().length() > 0) 138 String val = (String) it.next(); 140 debug.message("COTUtils.setToEntityIDMap: check " + val); 142 if (val.endsWith(SAML2_DELIM)) { 145 map.put(val.substring(0, val.length() - SAML2_DELIM.length()), 147 } else if (val.endsWith(IDFF_DELIM)) { 150 map.put(val [all...] |
| /forgerock/openam/openam-core/src/main/java/com/sun/identity/config/wizard/ |
| H A D | Step2.java | 52 String val = (String)getContext().getSessionAttribute( 54 if (val == null) { 55 val = getServerURL(); 57 add("serverURL", val); 59 val = (String)getContext().getSessionAttribute( 61 if (val == null) { 62 val = getCookieDomain(); 64 add("cookieDomain", val); 66 val = (String)getContext().getSessionAttribute( 68 if (val [all...] |
| H A D | Step4.java | 96 String val = getAttribute(SetupConstants.CONFIG_VAR_DATA_STORE, 99 if (!val.equals(SetupConstants.SMS_EMBED_DATASTORE)) { 101 val = getAttribute("configStoreSSL", "SIMPLE"); 103 val); 105 val = getAttribute("configStoreHost", getHostName()); 107 val); 109 val = getAttribute("configStorePort", "389"); 111 val); 113 val = getAttribute("configStoreLoginId",Wizard.defaultUserName); 115 SessionAttributeNames.USER_STORE_LOGIN_ID, val); [all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/config/validators/ |
| H A D | AdminValidators.js | 37 var v = $(input).val(); 39 if (v.length > 0 && !/^[a-zA-Z0-9\-\.\_\~\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=]+$/.test(v)) { 57 if (/\s/.test($(input).val())) { 62 if ($(input).val().length === 0) { 76 var v = $(input).val(); 77 if (v.length && !v.match(/\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-\n[^\-]*\n\-\-\-\-\-END CERTIFICATE\-\-\-\-\-\s*$/)) { 93 if(inputs.length !== 2) { 98 if (!$(inputs[0]).val() || $(inputs[0]).val() [all...] |
| /forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/authorization/policies/attributes/ |
| H A D | StaticResponseAttributesView.js | 48 val = editing.find("[data-attr-val]"), 51 attr.propertyName = key.val(); 52 attr.propertyValues = val.val(); 60 val = editing.find("[data-attr-val]"); 62 return _.every([key, val], function (input) { 63 return input.val() !== "" && input[0].checkValidity(); 75 val [all...] |
| /forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/config/validators/ |
| H A D | AMValidators.js | 28 value = input.val(); 30 if (typeof value === "string" && value.length && !phonePattern.test(value)) { 42 value = input.val(); 44 if (typeof value === "string" && value.length && !emailPattern.test(value)) {
|
| /forgerock/openam/openam-ui/openam-ui-ria/src/main/js/config/validators/ |
| H A D | AMValidators.js | 26 value = input.val(); 28 if (typeof value === "string" && value.length && !phonePattern.test(value)) { 40 value = input.val(); 42 if (typeof value === "string" && value.length && !emailPattern.test(value)) {
|
| /forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/config/wizard/ |
| H A D | Step4.java | 96 String val = getAttribute(SetupConstants.CONFIG_VAR_DATA_STORE, 99 if (!val.equals(SetupConstants.SMS_EMBED_DATASTORE)) { 101 val = getAttribute("configStoreSSL", "SIMPLE"); 103 val); 105 val = getAttribute("configStoreHost", getHostName()); 107 val); 109 val = getAttribute("configStorePort", "389"); 111 val); 113 val = getAttribute("configStoreLoginId",Wizard.defaultUserName); 115 SessionAttributeNames.USER_STORE_LOGIN_ID, val); [all...] |
| H A D | Step2.java | 62 String val = (String)getContext().getSessionAttribute( 64 if (val == null) { 65 val = getServerURL(); 67 add("serverURL", val); 69 val = (String)getContext().getSessionAttribute( 71 if (val == null) { 72 val = getCookieDomain(); 74 add("cookieDomain", val); 76 val = (String)getContext().getSessionAttribute( 78 if (val [all...] |
| /forgerock/openam-v13/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/ |
| H A D | SystemProperties.java | 62 if ((fileName != null) && (fileName.length() != 0)) { 85 String val = SystemPropertiesManager.get(key); 86 if (val == null) { 89 return val;
|
| /forgerock/openam/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/ |
| H A D | SystemProperties.java | 62 if ((fileName != null) && (fileName.length() != 0)) { 85 String val = SystemPropertiesManager.get(key); 86 if (val == null) { 89 return val;
|
| /forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/ |
| H A D | EmailValidator.java | 80 String domain = value.substring(index + 1, value.length()); 105 int length = name.length(); 107 for (int i = 0; i < length; i++) { 110 int val = ch; 117 if (val < 33 || val > 126 130 int number = domain.length() - domain.replace(".", "").length() + 1; 147 int length [all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/test/qunit/mapping/ |
| H A D | reconTests.js | 32 QUnit.equal(PoliciesView.$el.children().length, 0, "There are no children in the container before render."); 35 QUnit.ok(PoliciesView.$el.children().length > 0, "After rendering there are now child elements"); 38 QUnit.equal(PoliciesView.$el.find("#situationalPolicies table tbody tr.event-hook").length, 43 PoliciesView.$el.find("#policyPatterns option").length, 55 QUnit.equal(PoliciesView.$el.find("#situationalPolicies table tbody .failure-display").length, 7, "There are 7 situations with error classes"); 56 QUnit.equal(PoliciesView.$el.find("#situationalPolicies table tbody .warning-display").length, 3, "There are 3 situations with warning classes"); 57 QUnit.equal(PoliciesView.$el.find("#situationalPolicies table tbody .success-display").length, 3, "There are 3 situations with success classes"); 60 PoliciesView.$el.find("#policyPatterns").val("Read-only").change(); 62 if ($(row).find(".action").val() !== "ASYNC" && index < PoliciesView.model.allPatterns["Read-only"].policies.length) { [all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/util/ |
| H A D | FilterEditor.js | 54 if (index.length) { 68 if (context.parent.children.length !== 0) { 99 node.op = field.val(); 107 } else if (!node.children || !node.children.length) { 112 if (field.parent().siblings(".tag-body").find(".tag").val() === "extensibleMatchAND") { 113 node.extensible.matchType=field.val(); 114 node.name = field.val() + ":1.2.840.113556.1.4.803"; 115 } else if (field.parent().siblings(".tag-body").find(".tag").val() === "extensibleMatchOR") { 116 node.extensible.matchType = field.val(); 117 node.name = field.val() [all...] |
| /forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/util/ |
| H A D | LinkQualifierFilterEditor.js | 72 if (_.isArray(this.data.queryFilterTree) && this.data.queryFilterTree.length === 1) { 114 if($(currentSelect).val() === "/linkQualifier") { 115 tempValue = parentHolder.find(".value").val(); 117 parentHolder.find(".value").val(tempValue); 124 $(currentSelect)[0].selectize.setValue($(currentSelect).val()); 137 var value = $(this).val(), 163 tempValue = $(this).val(); 166 if(tempValue.length > 0 && appendElement.find("option[value='/object/" +tempValue +"']").length === 0 && appendElement.find("option[value='" +tempValue +"']").length [all...] |
| /forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/animation/ |
| H A D | animation-debug.js | 82 * @param {Number} val The value to be applied to the attribute. 85 setAttribute: function(attr, val, unit) { 87 val = (val > 0) ? val : 0; 90 YAHOO.util.Dom.setStyle(this.getEl(), attr, val + unit); 97 * @return {Number} val The current value of the attribute. 101 var val = YAHOO.util.Dom.getStyle(el, attr); variable 103 if (val !== 'auto' && !this.patterns.offsetUnit.test(val)) { [all...] |
| H A D | animation-min.js | 9 this.init(el,attributes,duration,method);};YAHOO.util.Anim.prototype={toString:function(){var el=this.getEl();var id=el.id||el.tagName||el;return("Anim "+id);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(attr,start,end){return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit){if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;} 10 YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr){var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);} variable 11 var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val [all...] |