<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Maven and WebLogicMBeanMaker in WebLogic 9/10</title>
	<atom:link href="http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/feed/" rel="self" type="application/rss+xml" />
	<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/</link>
	<description>Covering J2EE Security and WebLogic Topics</description>
	<lastBuildDate>Tue, 13 Apr 2010 01:53:49 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Manet</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-14250</link>
		<dc:creator>Manet</dc:creator>
		<pubDate>Fri, 07 Aug 2009 03:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-14250</guid>
		<description>I&#039;ve finally found the solution. 
Since I have the validation to go through my customised authenticator, I need to set Default Weblogic Authenticator flag = &quot;Sufficient&quot; instead of &quot;Required&quot;. It solved the problem.

From what I observed, this line
&lt;code&gt;sa.weak(request, response);&lt;/code&gt;
actually validates with all available authenticators including default.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve finally found the solution.<br />
Since I have the validation to go through my customised authenticator, I need to set Default Weblogic Authenticator flag = &#8220;Sufficient&#8221; instead of &#8220;Required&#8221;. It solved the problem.</p>
<p>From what I observed, this line<br />
<code>sa.weak(request, response);</code><br />
actually validates with all available authenticators including default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Fleming</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-14243</link>
		<dc:creator>Mike Fleming</dc:creator>
		<pubDate>Tue, 21 Jul 2009 23:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-14243</guid>
		<description>Sorry, Manet, but I don&#039;t know.</description>
		<content:encoded><![CDATA[<p>Sorry, Manet, but I don&#8217;t know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manet</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-14242</link>
		<dc:creator>Manet</dc:creator>
		<pubDate>Tue, 21 Jul 2009 03:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-14242</guid>
		<description>Thanks for the tip. I&#039;ve got my build working. However, I still have problem with weblogic.servlet.security.ServletAuthentication.weak() function always return 1 (FAILED_AUTHENTICATE) instead of 0 (AUTHENTICATED).

My code:
&lt;code&gt;
ServletAuthentication sa = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL);
int authenticated = sa.weak(request, response);
&lt;/code&gt;
Result authenticated = 1, even though username/password provided correctly (yes i am sure user/pswd are correct)

Do you have any idea?</description>
		<content:encoded><![CDATA[<p>Thanks for the tip. I&#8217;ve got my build working. However, I still have problem with weblogic.servlet.security.ServletAuthentication.weak() function always return 1 (FAILED_AUTHENTICATE) instead of 0 (AUTHENTICATED).</p>
<p>My code:<br />
<code><br />
ServletAuthentication sa = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL);<br />
int authenticated = sa.weak(request, response);<br />
</code><br />
Result authenticated = 1, even though username/password provided correctly (yes i am sure user/pswd are correct)</p>
<p>Do you have any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Fleming</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-14220</link>
		<dc:creator>Mike Fleming</dc:creator>
		<pubDate>Fri, 05 Jun 2009 01:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-14220</guid>
		<description>Thanks for the tip, Darryl. I&#039;ve seen that problem with Ant. Perhaps that&#039;s what bit you.

BTW, I&#039;ve pared down the WLS dependencies required for a security provider build such that I don&#039;t need a WLS installation anymore. Now I just need to write it up... ;-)</description>
		<content:encoded><![CDATA[<p>Thanks for the tip, Darryl. I&#8217;ve seen that problem with Ant. Perhaps that&#8217;s what bit you.</p>
<p>BTW, I&#8217;ve pared down the WLS dependencies required for a security provider build such that I don&#8217;t need a WLS installation anymore. Now I just need to write it up&#8230; <img src='http://monduke.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darryl S</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-14219</link>
		<dc:creator>Darryl S</dc:creator>
		<pubDate>Fri, 05 Jun 2009 00:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-14219</guid>
		<description>Not sure if its related but I had all kinds of problems with weblogic and maven when creating a weblogic deployer plugin for maven. I ultimately found that certain weblogic utilities will not work well with a classpath that contains spaces. So I ended up moving my maven repo out from Documents and Settings (e.g moved to \dev\.m2) and all the problems went away.</description>
		<content:encoded><![CDATA[<p>Not sure if its related but I had all kinds of problems with weblogic and maven when creating a weblogic deployer plugin for maven. I ultimately found that certain weblogic utilities will not work well with a classpath that contains spaces. So I ended up moving my maven repo out from Documents and Settings (e.g moved to \dev\.m2) and all the problems went away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Fleming</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-12146</link>
		<dc:creator>Mike Fleming</dc:creator>
		<pubDate>Sun, 30 Dec 2007 02:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-12146</guid>
		<description>Doug,

Thanks for the comment. Yes, yours would be a better way but have you figured out how to make that structure work in the Maven repository? That&#039;s what I&#039;d really like to have...</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>Thanks for the comment. Yes, yours would be a better way but have you figured out how to make that structure work in the Maven repository? That&#8217;s what I&#8217;d really like to have&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Harmon</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-12142</link>
		<dc:creator>Doug Harmon</dc:creator>
		<pubDate>Sun, 30 Dec 2007 00:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-12142</guid>
		<description>Instead of using a WebLogic installation directory, your WL jars that you depend on need to have the same directory structure as the WL install directory. This is due to the fact that weblogic.jar&#039;s manifest has a class-path attribute that depends on other jar files that are likely missing or could not be resolved as the directory structed was incorrect.</description>
		<content:encoded><![CDATA[<p>Instead of using a WebLogic installation directory, your WL jars that you depend on need to have the same directory structure as the WL install directory. This is due to the fact that weblogic.jar&#8217;s manifest has a class-path attribute that depends on other jar files that are likely missing or could not be resolved as the directory structed was incorrect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Fleming</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-9198</link>
		<dc:creator>Mike Fleming</dc:creator>
		<pubDate>Sat, 01 Sep 2007 00:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-9198</guid>
		<description>Thanks for the info, Satya.</description>
		<content:encoded><![CDATA[<p>Thanks for the info, Satya.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satya Ghattu</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-9190</link>
		<dc:creator>Satya Ghattu</dc:creator>
		<pubDate>Fri, 31 Aug 2007 14:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-9190</guid>
		<description>Mike,
If I remember correctly the Maker tool uses weblogic.Home.getHome() to get to the BEA installation directory and appends the relative path&#039;s to various different jars it depends on. For instance to get to wlManagment.jar, it will get the installation directory by calling weblogic.Home.getHome() and appends &quot;/server/lib/mbeantypes&quot; to get to the location of wlManagement.jar. As you may have noticed the Maker tool spawns a new JVM couple of times to get some things done and these VM&#039;s needed a special classpath to run. And that is one of the reasons it is slow.
If you have a 8.1 provider already built using some build mechanisms, I wouldn&#039;t throw it out, because after you build your old provider you can just simply upgrade it using the upgrade tool. The upgrade tool will internally call the MBeanMaker, but I guess you will see this Home issue even then if you are not using weblogic.jar from the installation directory.</description>
		<content:encoded><![CDATA[<p>Mike,<br />
If I remember correctly the Maker tool uses weblogic.Home.getHome() to get to the BEA installation directory and appends the relative path&#8217;s to various different jars it depends on. For instance to get to wlManagment.jar, it will get the installation directory by calling weblogic.Home.getHome() and appends &#8220;/server/lib/mbeantypes&#8221; to get to the location of wlManagement.jar. As you may have noticed the Maker tool spawns a new JVM couple of times to get some things done and these VM&#8217;s needed a special classpath to run. And that is one of the reasons it is slow.<br />
If you have a 8.1 provider already built using some build mechanisms, I wouldn&#8217;t throw it out, because after you build your old provider you can just simply upgrade it using the upgrade tool. The upgrade tool will internally call the MBeanMaker, but I guess you will see this Home issue even then if you are not using weblogic.jar from the installation directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Fleming</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-9175</link>
		<dc:creator>Mike Fleming</dc:creator>
		<pubDate>Fri, 31 Aug 2007 02:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-9175</guid>
		<description>Satya,

Thanks for responding. No need for any guilt, though. WebLogicMBeanMaker works just fine until one tries to shoe-horn it into a Maven build. Obviously, even that can be done after learning the tricks. 

What&#039;s funny is that I never actually stopped to ponder what the new schema files were for. Now I know.

Do you have any insight on the weblogic.Home problem mentioned in the post?

Are you saying that the upgrade tool would be a viable option for migrating a &quot;living&quot; security provider? I always assumed that the tool was a one-shot deal for when you didn&#039;t have source.

Thanks,

Mike</description>
		<content:encoded><![CDATA[<p>Satya,</p>
<p>Thanks for responding. No need for any guilt, though. WebLogicMBeanMaker works just fine until one tries to shoe-horn it into a Maven build. Obviously, even that can be done after learning the tricks. </p>
<p>What&#8217;s funny is that I never actually stopped to ponder what the new schema files were for. Now I know.</p>
<p>Do you have any insight on the weblogic.Home problem mentioned in the post?</p>
<p>Are you saying that the upgrade tool would be a viable option for migrating a &#8220;living&#8221; security provider? I always assumed that the tool was a one-shot deal for when you didn&#8217;t have source.</p>
<p>Thanks,</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satya Ghattu</title>
		<link>http://monduke.com/2007/08/29/maven-and-weblogicmbeanmaker-in-weblogic-910/comment-page-1/#comment-9173</link>
		<dc:creator>Satya Ghattu</dc:creator>
		<pubDate>Fri, 31 Aug 2007 01:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://monduke.com/?p=51#comment-9173</guid>
		<description>Thanks for the post and I feel a bit guilty for the problems you are seeing, since I was responsible for WebLogicMBeanMaker tool while I was at BEA. Yes WebLogicMBeanMaker has gone through a lot of change in 9.0 to comply with the new MBean hierarchy model and management API&#039;s. As you have noticed the jar file is a bit bloated, this is because it contains the XSB bindings and schema files that help WebLogic in persisting the security configuration to config.xml (BTW config.xml is schema based). Also, if you are migrating from WLS 8.1 and have a few security providers, you can use the Upgrade tool which may be the best way. See my blog entry at http://dev2dev.bea.com/blog/sghattu/archive/2005/08/upgrading_your.html</description>
		<content:encoded><![CDATA[<p>Thanks for the post and I feel a bit guilty for the problems you are seeing, since I was responsible for WebLogicMBeanMaker tool while I was at BEA. Yes WebLogicMBeanMaker has gone through a lot of change in 9.0 to comply with the new MBean hierarchy model and management API&#8217;s. As you have noticed the jar file is a bit bloated, this is because it contains the XSB bindings and schema files that help WebLogic in persisting the security configuration to config.xml (BTW config.xml is schema based). Also, if you are migrating from WLS 8.1 and have a few security providers, you can use the Upgrade tool which may be the best way. See my blog entry at <a href="http://dev2dev.bea.com/blog/sghattu/archive/2005/08/upgrading_your.html" rel="nofollow">http://dev2dev.bea.com/blog/sghattu/archive/2005/08/upgrading_your.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
