I am deploying the virtual application instance for database successfully and I have written a script randomly generated password for one username to access this database.
I need to send this randomly generated password to users so that they can access the database.
How can we show this username/password to the user in SCAS post deployment once the instance is deployed.
Any pointer to this will be appreciated.
This topic has been locked.
1 reply Latest Post - 2013-03-06T08:01:00Z by SystemAdmin
Pinned topic How can we show this username/password to the user in SCAS post deployment
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-06T08:01:00Z at 2013-03-06T08:01:00Z by SystemAdmin
SystemAdmin 110000D4XK139 PostsACCEPTED ANSWER
Re: How can we show this username/password to the user in SCAS post deployment2013-03-06T08:01:00Z in response to SystemAdminIt not so secure to show password on the portal usually we prefer to send emails containing the credentional.
To send an email you will need an SMTP server, so you have either to capture it from your pattern-type or create a shared service which provide a 'sendEmail' RESTFul API service and send the email using a 'post provisioner' OSGI component.
FYI: we can also show some information on the console using the 'external-url' element in the topology:
(Sorry, I can't add hyperlink in this response, please copy/paste them in your browser).
Pattern-type (Part 11): Add a post processor to a deployment: http://cloud.itdove.com/?p=1224
Pattern-type (Part 13): How to create shared services for IBM SmartCloud Application Workload Service: http://cloud.itdove.com/?p=1663
Pattern-type (Part 14): How to create a client using ServiceProvisioner for a shared service on IBM SmartCloud Application Workload Service: http://cloud.itdove.com/?p=1739
Pattern-type (Part 15): How to create a client using Python scripts for a shared service on IBM SmartCloud Application Workload Service: http://cloud.itdove.com/?p=1785
Pattern-type (Part 17): Tips: How to attach a URL to your pattern : http://cloud.itdove.com/?p=1812
Dominique - Follow me on Twitter @ITDoVe - Blog: http://cloud.itdove.com