Upgrading your Security Providers to comply with WLS 9.0

From WLS 7.0 BEA introduced a Security Framework where you can plugin your own security providers. If you have written Security Providers against your WLS 7.0 or WLS 8.1 and you are upgrading to WLS 9.0, you will also have to Upgrade these providers before you can start using them in WLS 9.0. The security providers are available to all WebLogic domains that share a WLS installation and the default location of these providers is (WL_HOME)/server/lib/mbeantypes)
The upgrade process is pretty simple, while installation BEA even upgrades any security providers that are in the default location of previous WLS installations. If you have your provider jars in a different place (say a source control), you can upgrade them by using the Security Provider Upgrade tool. To invoke the tool use, java weblogic.Upgrade -type securityproviders, this will bring up a wizard that will walk you through the upgrade process.
A few things you will have to remember before upgrading.
1) The old provider jar should have the MDF (MBean Definition File) in the jar, a MDF is the XML file that defines your Provider MBean interface. Without this MDF file the upgrade tool has no way of finding any information about your Provider.
2) You cannot upgrade security providers that came OOTB with WLS 7.0 or 8.1, becuase these are already upgraded and available OOTB with WLS 9.0.
3) Do not be alarmed if your upgraded provider jar is little bigger in size when compared to the old, this is because the Upgrade tool generates the BeanImpl’s, BeanInfo’s, Schema information etc for your provider, such that it complies with WLS 9.0 Management Framework.
4) After upgrading, you will notice that your new provider’s name has ‘_Upgraded’ appended.

All this information is very well documented on edocs.

_uacct = “UA-2684269-2″;
urchinTracker();

Comments are closed.