aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to suppress prompt?" Watch "How to suppress prompt?" New topic
Author

How to suppress prompt?

sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34
Hi

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

storeUserConfig('/opt/fsm/domains/mydomains/myuserconfigfile.secure','/opt/fsm/domains/mydomains/myuserkeyfile.secure')

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.


sumit



Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    5

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: http://aspose.com/file-tools
 
subject: How to suppress prompt?
 
Similar Threads
Ant task failed due to confirmation prompt
How to capture left parentheisis event...
Start of Admin server remotely
Problem with weblogic start up
Start Admin server