connect(‘weblogic’,’weblogic’,’t3://localhost:7001′) edit() startEdit(-1,-1,’false’) cmo.getSecurityConfiguration().getDefaultRealm().createAuthenticationProvider(‘ADAuthenticator’, ‘weblogic.security.providers.authentication.ActiveDirectoryAuthenticator’) cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider(‘ADAuthenticator’).setControlFlag(‘OPTIONAL’) cd(‘/SecurityConfiguration’) cd(‘base_domain’) cd(‘Realms/myrealm/AuthenticationProviders’) cd(‘ADAuthenticator’) cmo.setGroupBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setUserBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setAllGroupsFilter(‘(objectclass=group)’) cmo.setPrincipal(‘CN=Administrator,CN=Users,DC=faisal,DC=bea,DC=com’) cmo.setCredential(‘Passw0rd’) cmo.setPort(389) cmo.setHost(‘localhost’) save() activate()
Continue readingAuthor: Faisal
BASIC Authentication with Apache
Create user.txt with the username and password separated by colon user.txt testuser:testuser Then use the htpasswd to encrypt the password
Continue readingUpdating invalidation-interval-secs Using Plan.xml
This article describes the usage of plan.xml to update deploment descriptors on the fly. In this example we will update
Continue readingResetting Admin UserName And Password in Weblogic Server 11g
Step 1 – Set the environment C:OracleMiddlewareuser_projectsdomainsFirstDomainbin>setDomainEnv.cmd Step 2 – Create a new Admin Account C:OracleMiddlewareuser_projectsdomainsFirstDomain>java weblogic.security.utils.AdminAccount faisal faisal123 .
Continue readingUse specific SSL protocol version with Weblogic Server.
If we want the Weblogic Server to use only a specific protocol version of SSL,we can do it with the
Continue readingHow to Restrict Key Size Larger that 128 bit on Weblogic Server.
To restrict keysize larger than 128 bit we need to select only those cipher suites in the configuration which use
Continue readingCreating Application Life Cycle Listener
Create a Class that extends ApplicationLifecycleListener. ApplicationListener.java package demo; import weblogic.application.ApplicationException; import weblogic.application.ApplicationLifecycleEvent; import weblogic.application.ApplicationLifecycleListener;; public class ApplicationListener extends ApplicationLifecycleListener
Continue readingSide by Side deployment/Versioning
/* Style Definitions */ table.MsoNormalTable {mso-style-name:”Table Normal”; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:””; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:”Times
Continue readingConfiguration: WLDF Mail Notification for Runtime Mbean
Weblogic Diagnostics Framework can be used to analyze, collect, archive and access diagnostic data generated by a running server and
Continue readingSteps to use userconfig file and userkey file
Steps to use userconfig file and userkey file First create the user config file and the key file with the
Continue reading