Oracle Weblogic Server (MOSC)

MOSC Banner

WLST Password Encryption.

edited Jan 5, 2010 5:55AM in Oracle Weblogic Server (MOSC) 2 commentsAnswered
Hi

I am trying to use storeUserConfig() to have encrypted files and then use it later in .py script

As such...

edit()
startEdit()
domain=cmo
jdbcSystemResource = domain.createJDBCSystemResource('oraclePool')
jdbcSystemResource.getJDBCResource().setName('oraclePool')
driverParams = jdbcSystemResource.getJDBCResource().getJDBCDriverParams()
driverParams.setPasswordEncrypted('INT3OraclePool', 'userlist.txt', 'sk_file.txt')

where the userlist.txt and sk_file.txt are the key files generated using storeUserConfig()...

obviously this fails because setPasswordEncrypted expects only on parameter .. and encrypted byte [] ...

how will i accomplish this???

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center