mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • m-Power Administration
  • Encrypted Password in Datasource File
Back to Manual

Encrypted Password in Datasource File

The Datasource file contains the connectivity information between m-Power and the database, including the user name and password.  For your security m-Power encrypts the password for each connection, this adds security to your development platform by not displaying the passwords in clear text when opening the Datasource file. The encryption feature is setup by default on all new m-Power installs from August 2013 and later.

For existing customer updating to the August 2013 release: after applying the update, the passwords will no longer display in clear text on the Datasource GUI, but one extra  step is needed to encrypt the passwords in the mrc-spring-context.xml file when opened in text mode. Please follow these steps:

  • Navigate to Admin, click Edit Data Dictionary Files, click Data Source Configuration, and then click Text Mode.
  • Click the binoculars icon and do a Find/Replace, the text to find is:
    org.apache.commons.dbcp.BasicDataSource
    and it is to be replaced with:
    com.mrc.dbo.EncryptionDataSource
    NOTE: All of the connection beans class attribute must be changed, even if they are not being used. The find and replace is the fastest way to replace all of them in one step.
  • Once finished changing all the class beans to the new class, click the Save icon on the upper left toolbar section. Close the text editor.
  • Open the Data Source Configuration GUI. Press the Accept button. Doing so will encrypt the existing clear text passwords.
  • Next, click Data Source Configuration, this time select m-Power Interface from the drop down at the top of the page, next to "Select database connection information for" and then click Text Mode. This will open the mrc-spring-context.xml file located in the mrcwebgui folder. Repeat the steps and replace the class name for: com.mrc.dbo.EncryptionDataSource in all the beans like you did before.
  • Once finished changing all the class beans to the new class, click the Save icon on the upper left toolbar section. Close the text editor.

datasourcee

 

Created: August 7, 2013 | Modified: June 12, 2017

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Production Getting Started Build Process Prompt Screens mrc-Productivity Series Tomcat SQL App Properties Admin Reports Record Selections Java Parameters Application Properties Data Dictionary Security Freemarker Database Graphing Popular Dropdowns Report Maintainers Calculations Bootstrap Templates DB2 Retrieval Form Validation Compiling Bar Graphs Summaries Maintainer External Objects Video Advanced Dates Graphs Administration Graph Properties Excel Performance Email m-Painter RPG Retrievals

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.