connect(‘weblogic’,’weblogic’,’t3://localhost:7001′)edit()startEdit(-1,-1,’false’)serverConfig()cd(‘/SecurityConfiguration/First_Domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator’)cmo.createUser(‘faisal’,’weblogic’,”)cmo.groupExists(‘TestGrp’)cmo.createGroup(‘TestGrp’,”)cmo.addMemberToGroup(‘testgrp’,’faisal’)cd(‘/SecurityConfiguration/First_Domain/Realms/myrealm/RoleMappers/XACMLRoleMapper’)cmo.setRoleExpression(”,’Admin’,’Grp(TestGrp)|Grp(Administrators)’)edit()undo(defaultAnswer=’y’, unactivatedChanges=’true’)stopEdit(‘y’)
Continue readingList Users and Groups in Weblogic using JMX
There are times when an Application Needs to interact with the Weblogic Server Embedded LDAP Server and Add/Modify/List users or
Continue readingJAAS Login in Weblogic Server
The Java Authentication and Authorization Service (JAAS) is a standard extension to the security in the J2SE Development Kit 5.0.
Continue readingIssues Relating to urandom/random on Weblogic Server in Linux Environment
To generate random numbers, linux provides two devices /dev/random and /dev/urandom . /dev/random depends on the Entropy pool ( created
Continue readingSSL JNDI Client 2 way SSL with Weblogic
This is a Simple demonstration of doing a JNDI lookup using 2 Way SSL client. Step-1). Create Self Signed Certificate
Continue readingEnforce Weblogic to use Sun SSL implementation rather than Certicom
Add the following flag in the startup script -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol-Dssl.SocketFactory.provider=com.sun.net.ssl.internal.SSLSocketFactoryImpl-DUseSunHttpHandler=true-Dweblogic.wsee.client.ssl.usejdk=true (for webservice clients)
Continue readingCommon LDAP Server Issues
The causes of the exceptions are discussed in brief. If you have anything to add, feel free to comment! com.bea.security.providers.xacml.store.ldap.LDAPException:
Continue readingcom.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte The above exception is encountered during server startup. This happens when SerializedSystemIni.dat
Continue readingTroubleshooting Out Of Memory Errors in Weblogic using Eclipse Memory Ananlyser
Eclipse Memory Ananlyser is a very useful tool to analyze heap dumps. It has a lot of features such as
Continue readingConfiguring Distributed Topic on Weblogic Server
A distributed topic is a set of physical JMS topic members. As such, a distributed topic can be used to
Continue reading