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:
wlst.sh – for unix.
wlst.cmd – for windows.
3. At the WLST command prompt, connect to the Administration Server for Oracle WebCenter:
connect(‘
connect(‘weblogic ‘,’welcome1’, ‘192.168.0.93:8888’)
4. Run the following command to create a user configuration file and key file in a specified location:
storeUserConfig(‘
For example: storeUserConfig(‘C:/myFiles/myuserconfigfile.secure’, ‘C:/myFiles/myuserkeyfile.secure’)
you can map the entry of these files in config.properties in spaces application to deploy shared library like below
wls.userkey=C:\\JDeveloper\\mywork\\ps1userkeyfile.secure
wls.userconfig=C:\\JDeveloper\\mywork\\ps1userconfigfile.secure
Thats it. You can find the secure files in specified path.
Happy coding with Vinay in Techartifact…..