generate the secure files in weblogic in Webcenter Spaces Applicaton

For security purposes, administrator user name and password details are stored in secure files.Obtain the location of these secure files from your systems administrator or generate the secure files in weblogic.
How to do that. lets find it out.

I am working on portal and spaces application.For deploying spaces application in console ,i need a secure file.Following are the steps to generate.

1. Navigate to: ORACLE_HOME/common/bin in command prompt using CD command.

2. Enter the command: – for unix.
wlst.cmd – for windows.

3. At the WLST command prompt, connect to the Administration Server for Oracle WebCenter:

connect(‘‘,’‘, ‘:‘) Where admin_user is the user name of the administrator, admin_pwd is the administrator’s password, host is the WebCenter instance, and port is the Administration Server port. This is used for connecting with weblogic using command prompt. i.e

connect(‘weblogic ‘,’welcome1’, ‘’)

4. Run the following command to create a user configuration file and key file in a specified location:

storeUserConfig(‘‘, ‘) Where userConfigFile is the name and location of the file storing user details and userKeyFile is the name and location of the file storing passwords.

For example: storeUserConfig(‘C:/myFiles/’, ‘C:/myFiles/’)

you can map the entry of these files in in spaces application to deploy shared library like below


Thats it. You can find the secure files in specified path.

Happy coding with Vinay in Techartifact…..


I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube