Two Laptop Bag*
The moose likes BEA/Weblogic and the fly likes How to suppress prompt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to suppress prompt?" Watch "How to suppress prompt?" New topic

How to suppress prompt?

sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34

I am using storeUserConfig() API to encrypt the username and password as


As soon as i run this command it prompt for user confirmation as

Creating the key file can reduce the security of your system if it is not
kept in a secured location after it is created. Do you want to create the
key file? y or n

Is there any way to suppress this message and by default allow "y" as input???

I am more concern abt it because i am using .PY script to execute this API and i dont want user interaction while running this script.


Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

Can you post your script. I will try playing around with it if I can

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link:
subject: How to suppress prompt?
Similar Threads
How to capture left parentheisis event...
Start Admin server
Problem with weblogic start up
Ant task failed due to confirmation prompt
Start of Admin server remotely