Posts

Showing posts with the label SECURITY

Active Directory Authenticator Configuration with Weblogic or AD Integration with Weblogic

Image
Terminologies CN : Common name =Users, Groups, Container, Computer OU : Organisational Unit=Organisation Name DC :Domain Component=Domain Domain Controller:  A domain controller is a server that is running a version of the Windows Server operating system and has Active Directory Domain Services installed. Step 1) Create Users & Groups in Default AD container Users.              Below snapshot shows i have created               Users: jagan                         john                         scott               Group: testgroup Users jagan, john & scott are member of testgroup Step 2) Create Active Directory Authenticator Login to Wls console ==> Click on Security Realms ==> Click on myrealms ==> Click on Providers =...

How To Improve WebLogic Server Start Up & Login Performance?

Image
==> You may be noticed that the WebLogic Server start up performance is considerably very poor due to linux server Entropy issue ==> There are so many situation like WebLogic Console hanging after entering credentials an clicking on Login button & Slow Server Start up etc. ==> Entropy is the measure of the random numbers available from /dev/urandom, and if you run out,you can’t make SSL connections. Step 1) Check the linux server Entropy using below command                         cat /proc/sys/kernel/random/entropy_avail              If the o/p is between 100 to 200 in that case problem exist              Example: Step 2) set the JAVA_OPTION " -Djava.security.egd=file:/dev/./urandom " in setDomainEnv.sh file Step 3) Restart the AdminServer  cd /oracle/Middleware/user_projects/domains/base_domain/bin ./stopWe...

SQLAuthenticator Provider Configuration Demo With Weblogic

Image
By default Users & Groups information's are managed using weblogic DefaultAuthenticator ie. Embedded LDAP. To manage application specific Users and Groups in efficient manner these information's will be stored in external LDAP like SQLAuthenticator, Active Directory, OID etc. Step 1) Create Data Source sqlds which will used for while configuring SQLAuthenticator Login to wls console ==> Click on Services ==> Click on Data Sources ==> Click on New ==>Click on Generic Data sources ==> Create  sqlds datasource Step 2) Create the following Tables "USERS", "GROUPS" and "GROUPMEMBERS" by running below sql queries CREATE TABLE USERS (     U_NAME VARCHAR(200) NOT NULL,     U_PASSWORD VARCHAR(50) NOT NULL,     U_DESCRIPTION VARCHAR(1000)); ALTER TABLE USERS    ADD CONSTRAINT PK_USERS    PRIMARY KEY (U_NAME);     CREATE TABLE GROUPS (     G_NAME VARCHA...

Weblogic Users And Groups Migration from Weblogic 10.3.6 To Weblogic 12.1.3 Using Admin Console

Image
Below Demo Shows Users And Groups Migration From weblogic 10.3.6 To weblogic 12.1.3 Using Weblogic Admin Console For Specific Provider(say DefaultAuthenticator) 1. Below screen shot shows users and groups in weblogic 10.3.6.0 Login To 10.3.6  WebLogic Admin Console ==> Click on "Security Realms"==>Click on myrealm==>Click on "Users And Groups" ==>Click on Users     Click on Groups 2. Export Users And Groups Into a .dat file Say  DefaultAuthenticator.dat  and locate at  /oracle/Middleware1036/export/ Login To 10.3.6 WebLogic Admin Console ==> Click on "Security Realms"==>Click on myrealm==>Click on ==> Providers ==> Click on DefaultAuthenticator ==> Click on Migration ==>Click on Export ==> Export Format: DefaultATN ==> Export File on Server  /oracle/Middleware1036/export/DefaultAuthenticator.dat ==> Click on Save 3. Check export file generated or not 4. Now Login To 12.1.3.0 ...

How To Recover Custom Identity And Custom Trust Keystore Password

Image
==> Password information are stored in security data file  SerializedSystemIni.dat which cannot be readable like text files. ==> Encrypted passwords are stored in config.xml, boot.properties And DataSource-jdbc.xml file can be visible to user. ==> Using Encrypted password and SerializedSystemIni.dat file we can recover passwords ==> Using this method one can recover password for  weblogic Admin Console KeyStore password Data source Password  1) Create a file DecryptTest.py  with below content in $DOMAIN_HOME/security directory from weblogic.security.internal import * from weblogic.security.internal.encryption import * #This will prompt you to make sure you have SerializedSystemIni.dat file under #current directory from where you are running command raw_input("Please make sure you have SerializedSystemIni.dat inside the current directory, if yes press ENTER to continue.") # Encryption service encryptionService = Seri...