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:
wlst.sh – 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’, ‘192.168.0.93:8888’)

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/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…..

Vinay

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