Import/ Export users and groups from Security Realm

Exporting users and groups from WebLogic Security Realm.

Login into the WebLogic Administration console ,navigate to Security Realm -> MyRealm

Navigate to Migration tab ->Export  Specify the location where the data needs to be exported.

Verify whether the users and groups are exported by checking the location, you would find set of files listed below.

  1. DefaultAuthenticator.dat
  2. DefaultCredentialMapper.dat
  3. exportIndex.dat
  4. XACMLAuthorizer.dat
  5. XACMLRoleMapper.dat

The users and groups from the realm are successfully exported now.

For importing the Users and Groups into an existing realm, follow the below steps.

  1. Login into the WebLogic Administration console ,navigate to Security Realm -> MyRealm

  1. Navigate to Migration tab Import Specify the location from where the data needs to be imported.

Note: This data that needs to be imported should have previously been exported from a security realm. The directory (Realm-Export) should contain the below files.

  1. DefaultAuthenticator.dat
  2. DefaultCredentialMapper.dat
  3. exportIndex.dat
  4. XACMLAuthorizer.dat
  5. XACMLRoleMapper.dat Check the Users and Groups tab under Security Realms → MyRealms, you will see the users are imported. It would not import the duplicate entries.

3. Check the Users and Groups tab under Security Realms → MyRealms, you will see the users are imported. It would not import the duplicate entries.

6 comments

    1. SQLAuthentcation provider stores users and password in Database. So you need to import and export the database.

  1. Can the DefaultAuthenticator.dat be edited the re-imported? I would like to change a large number of passwords, but I don’t want to do this through the console. Can I change the password in the export file then re-import the data back into the security realm so that the new passwords are reflected?

Comments are closed.