Monday, February 13, 2012

Reset password in weblogic portal

Error message

Caused By: [Security:090302]
Authentication Failed: User canopiadmin denied
       at Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       Truncated. see log file for complete stacktrace

In weblogic portal the authentication happens via DB, since it uses SQL based authentication.
1. We need to enter the original username password in database
2. enable plain text password in config.xml if its not already so, since the above entered credentials are in plaintext and table will have encrypted values.

to enable plaintext in config.xml as


so it would look like below in config.xml

     <sec:authentication-provider xsi:type="wls:sql-authenticatorType">

3. restart the servers.

plaintext password is reachable via console as
console - security realm - myrealm - providers - authentication - select the respective sql authenticator - config - provider specific - Plaintext Passwords Enabled

You may disable plain text after successful login,  

1 comment:

Blogger said...

BlueHost is ultimately one of the best website hosting company with plans for any hosting requirements.