000011796 - The Chinese Mobile phone have 11 digits without the area code so we need to modify the text field with Juniper Adapter in RSA Adaptive Authentication (OnPrem)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000011796
Applies ToRSA Product Set: Adaptive Authentication (OnPrem)
RSA Product/Service Type: Juniper Adapter 1.1.3
RSA Version/Condition: 6.0.2.1 SP2 P1
IssueThe Chinese Mobile phone have 11 digits without the area code so we need to modify the text field.
User was not able to enroll because the cell mobile numbers in china are 11 digits.
Resolution

1. Adjust the JSP page to support longer digits.


Identify the below line inside EnrollPhones.jsp & EnrollBoth.jsp files and set the maxLength attribute to 4, it?s set to 3 by default.


1.1 Mobile numbers in China have 11 digits without area code. Max Length should be changed from 10 to 11 and size should 12.
<td align="left" width="21%" align="left"><html:text property="<%=FormFields.OOBPHONE_PREFIX_PHONENUMBER+i%>" maxlength="11" size="12"/></td>


2. Edit "extension.max.length" in  adapters-juniper-aa\WEB-INF\validation.xml to accept large extension numbers.
         <constant-name>extension.max.length</constant-name>
         <constant-value>4</constant-value>
2.1 Also the mobile numbers is china have 11 digits without area code. Change the constant ?value to be 11.
     <constant>
         <constant-name>phonenumber.max.length</constant-name>
         <constant-value>11</constant-value>
     </constant>
3. Edit  "validate.phoneData.properties" and "validate.phoneInfo.properties" in RSA\configs to accept large extension number.
extension.length=1,5
3.1 Edit  "validate.phoneData.properties" and "validate.phoneInfo.properties" in RSA\configs to accept large phone number to 11 digits Chinese mobile numbers..
phoneNo.length=1,11
4. Edit and comment the unsupported propery inside "validate.PhoneInfo.properties" for extension, as shown below:
#extension.validators=unsupported


5. The phone contact information is stored under table CONTACTS under core DB.

Notes
2011-09-16 09:01:02,799 DEBUG [com.rsa.adapters.soap] - <<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><ns1:updateUser xmlns:ns1="http://ws.csd.rsa.com"><ns1:request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:UpdateUserRequest"><ns1:actionTypeList xsi:type="ns1:GenericActionTypeList"><ns1:genericActionTypes>SET_USER_STATUS</ns1:genericActionTypes></ns1:actionTypeList><ns1:deviceRequest><ns1:devicePrint>
version%3D1%26pm%5Ffpua%3Dmozilla%2F5%2E0%20%28windows%20nt%205%2E1%3B%20rv%3A6%2E0%2E2%29%20gecko/20100101%20firefox/6%2E0%2E2%7C5%2E0%20%28Windows%29%7CWin32%26pm%5Ffpsc%3D16%7C1280%7C1024%7C994%26pm%5Ffpsw%3D%7Cswf%7Cdsw%7Cpdf%7Cwpm%7Cdrm%7Cdrn%26pm%5Ffptz%3D%2D4%26pm%5Ffpln%3Dlang%3Den%2DUS%7Csyslang%3D%7Cuserlang%3D%26pm%5Ffpjv%3D1%26pm%5Ffpco%3D1</ns1:devicePrint><ns1:deviceTokenFSO>PMV60IzB4gjzoMEZifWaMdq3zFTjIZfwOfsMUgho%2FYKAcA0SjrfGCrPZIVFYGnb5S7yjlO</ns1:deviceTokenFSO><ns1:httpAccept>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</ns1:httpAccept><ns1:httpAcceptChars>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ns1:httpAcceptChars><ns1:httpAcceptEncoding>gzip, deflate</ns1:httpAcceptEncoding><ns1:httpAcceptLanguage>en-us,en;q=0.5</ns1:httpAcceptLanguage><ns1:httpReferrer>http://10.10.57.94:8080/adapters-juniper-aa/EnrollPhones.do</ns1:httpReferrer><ns1:ipAddress>10.100.41.82</ns1:ipAddress><ns1:userAgent>Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2</ns1:userAgent></ns1:deviceRequest><ns1:identificationData><ns1:orgName></ns1:orgName><ns1:userName>far15</ns1:userName><ns1:userStatus>VERIFIED</ns1:userStatus><ns1:userType>PERSISTENT</ns1:userType></ns1:identificationData><ns1:messageHeader><ns1:apiType>DIRECT_SOAP_API</ns1:apiType><ns1:requestType>UPDATEUSER</ns1:requestType><ns1:version>6.0</ns1:version></ns1:messageHeader><ns1:securityHeader><ns1:callerCredential>adm1npass*</ns1:callerCredential><ns1:callerId>admin</ns1:callerId><ns1:method>PASSWORD</ns1:method></ns1:securityHeader><ns1:credentialManagementRequestList xsi:type="ns1:CredentialManagementRequestList">
<ns1:oobPhoneManagementRequest>
<ns1:payload xsi:type="ns1:PhoneManagementRequestPayload">
<ns1:oobActionTypeList xsi:type="ns1:OOBActionTypeList">
<ns1:oobActionType>UPDATE_OOB</ns1:oobActionType>
</ns1:oobActionTypeList><ns1:contactList xsi:type="ns1:PhoneInfo">
<ns1:label>off</ns1:label>
<ns1:areaCode>512</ns1:areaCode>
<ns1:countryCode>86</ns1:countryCode>
<ns1:extension></ns1:extension>
<ns1:phoneNumber>12345678901</ns1:phoneNumber>
</ns1:contactList></ns1:payload>
</ns1:oobPhoneManagementRequest>
</ns1:credentialManagementRequestList>
</ns1:request>
</ns1:updateUser>
</soapenv:Body>>
Legacy Article IDa56064

Attachments

    Outcomes