<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>MuneebAhmad.com</title>
	<atom:link href="http://www.muneebahmad.com/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.muneebahmad.com</link>
	<description></description>
	<pubDate>Tue, 02 Feb 2010 15:58:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>HTTP Digest Authentication: A Java Client</title>
		<link>http://www.muneebahmad.com/index.php/archives/128</link>
		<comments>http://www.muneebahmad.com/index.php/archives/128#comments</comments>
		<pubDate>Fri, 23 Oct 2009 22:45:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=128</guid>
		<description><![CDATA[

import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.HeaderElement;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod;

public class BrowserAuth {

	public static void main(String[] args) {
		try {

			// 
			String urlStr = &#8220;http://example.com:8080/abc/&#8221;;
			String host = &#8220;example.com&#8221;;
			String realm = &#8220;ExampleRealm&#8221;;
			String userName = &#8220;user&#8221;;
			String password = &#8220;password&#8221;;
			// 

			HttpClient client = new HttpClient();

			GetMethod getMethod = new GetMethod(urlStr);

			int status = client.executeMethod(getMethod);
			System.out.println(&#8221;status: &#8221; + status);
			String responseBody = getMethod.getResponseBodyAsString();
			System.out.println(&#8221;responseBody: &#8221; + responseBody);

			Header wwAuthHeader = [...]]]></description>
			<content:encoded><![CDATA[<div id="code">
<pre>
import org.apache.commons.httpclient.Header;
import org.apache.commons.httpclient.HeaderElement;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod;

public class BrowserAuth {

	public static void main(String[] args) {
		try {

			// <CHANGE ME>
			String urlStr = &#8220;http://example.com:8080/abc/&#8221;;
			String host = &#8220;example.com&#8221;;
			String realm = &#8220;ExampleRealm&#8221;;
			String userName = &#8220;user&#8221;;
			String password = &#8220;password&#8221;;
			// </CHANGE ME>

			HttpClient client = new HttpClient();

			GetMethod getMethod = new GetMethod(urlStr);

			int status = client.executeMethod(getMethod);
			System.out.println(&#8221;status: &#8221; + status);
			String responseBody = getMethod.getResponseBodyAsString();
			System.out.println(&#8221;responseBody: &#8221; + responseBody);

			Header wwAuthHeader = getMethod.getResponseHeader(&#8221;WWW-Authenticate&#8221;);
			for (HeaderElement element : wwAuthHeader.getElements()) {
				System.out.println(element.getName() + &#8220;: &#8221; + element.getValue());
			}

			UsernamePasswordCredentials upc = new UsernamePasswordCredentials(userName, password);
			AuthScope as = new AuthScope(host, 8080, realm);
			client.getState().setCredentials(as, upc);
			status = client.executeMethod(getMethod);
			System.out.println(&#8221;status: &#8221; + status);
			responseBody = getMethod.getResponseBodyAsString();
			System.out.println(&#8221;responseBody: &#8221; + responseBody);

			getMethod.releaseConnection();

		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/128/feed</wfw:commentRss>
		</item>
		<item>
		<title>NTLM Authentication: Java Client Code</title>
		<link>http://www.muneebahmad.com/index.php/archives/127</link>
		<comments>http://www.muneebahmad.com/index.php/archives/127#comments</comments>
		<pubDate>Fri, 23 Oct 2009 22:22:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=127</guid>
		<description><![CDATA[

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.Authenticator;
import java.net.HttpURLConnection;
import java.net.PasswordAuthentication;
import java.net.URL;

public class NtlmTest01 {

	public static void main(String[] args) throws Exception {

		String urlStr = &#8220;http://example.com/root/action.dll?p1=value1&#8243;;
		String domain = &#8220;&#8221;; // May also be referred as realm
		String userName = &#8220;CHANGE_ME&#8221;;
		String password = &#8220;CHANGE_ME&#8221;;		

		String responseText = getAuthenticatedResponse(urlStr, domain, userName, password);

	    System.out.println(&#8221;response: &#8221; + responseText);
	}

	private static String getAuthenticatedResponse(final String [...]]]></description>
			<content:encoded><![CDATA[<div id="code">
<pre>
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.Authenticator;
import java.net.HttpURLConnection;
import java.net.PasswordAuthentication;
import java.net.URL;

public class NtlmTest01 {

	public static void main(String[] args) throws Exception {

		String urlStr = &#8220;http://example.com/root/action.dll?p1=value1&#8243;;
		String domain = &#8220;&#8221;; // May also be referred as realm
		String userName = &#8220;CHANGE_ME&#8221;;
		String password = &#8220;CHANGE_ME&#8221;;		

		String responseText = getAuthenticatedResponse(urlStr, domain, userName, password);

	    System.out.println(&#8221;response: &#8221; + responseText);
	}

	private static String getAuthenticatedResponse(final String urlStr, final String domain, final String userName, final String password) throws IOException {

	    StringBuilder response = new StringBuilder();

		Authenticator.setDefault(new Authenticator() {
	        @Override
	        public PasswordAuthentication getPasswordAuthentication() {
	            return new PasswordAuthentication(domain + &#8220;\\&#8221; + userName, password.toCharArray());
	        }
	    });

	    URL urlRequest = new URL(urlStr);
	    HttpURLConnection conn = (HttpURLConnection) urlRequest.openConnection();
	    conn.setDoOutput(true);
	    conn.setDoInput(true);
	    conn.setRequestMethod(&#8221;GET&#8221;);

	    InputStream stream = conn.getInputStream();
	    BufferedReader in = new BufferedReader(new InputStreamReader(stream));
	    String str = &#8220;&#8221;;
	    while ((str = in.readLine()) != null) {
	        response.append(str);
	    }
	    in.close();		

	    return response.toString();
	}

}
</pre>
</div>
<hr /><strong>Notest: NTLM Handshack</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>GET &#8230;</p>
<p>401 Unauthorized<br />
WWW-Authenticate: NTLM<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
GET &#8230;<br />
Authorization: NTLM TlRMTVNTUAABAAAAA7IAAAoACgApAAAACQAJACAAAABMSUdIVENJVFlVUlNBLU1JTk9S</p>
<p>401 Unauthorized<br />
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAACgAAAABggAAU3J2Tm9uY2UAAAAAAAAAAA==<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
GET &#8230;<br />
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAHIAAAAYABgAigAAABQAFABAAAAADAAMAFQAAAASABIAYAAAAAAAAACiAAAAAYIAAFUAUgBTAEEALQBNAEkATgBPAFIAWgBhAHAAaABvAGQATABJAEcASABUAEMASQBUAFkArYfKbe/jRoW5xDxHeoxC1gBmfWiS5+iX4OAN4xBKG/IFPwfH3agtPEia6YnhsADT</p>
<p>200 Ok<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Ref: http://www.innovation.ch/personal/ronald/ntlm.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/127/feed</wfw:commentRss>
		</item>
		<item>
		<title>HermesJMS: A JMS Queue/Topic Browser</title>
		<link>http://www.muneebahmad.com/index.php/archives/123</link>
		<comments>http://www.muneebahmad.com/index.php/archives/123#comments</comments>
		<pubDate>Mon, 10 Aug 2009 23:06:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=123</guid>
		<description><![CDATA[1. Download:
http://sourceforge.net/project/showfiles.php?group_id=61713

2. Install
Just run the downloaded JAR file using java (JRE). Read below for more details:
http://www.hermesjms.com/confluence/display/HJMS/Installing

3. Screen-Play Tutorial
http://www.hermesjms.com/confluence/display/HJMS/JBoss+Tutorial

4. Sample Settings (you will know what these are once you watch the above tutorial) 
Provider
JBoss 4.2.0 (7 jars added)
Context
loader                   [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong><span style="text-decoration: underline;">1. Download:</span></strong></p>
<p class="MsoNormal"><a href="http://sourceforge.net/project/showfiles.php?group_id=61713">http://sourceforge.net/project/showfiles.php?group_id=61713</a></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong><span style="text-decoration: underline;">2. Install</span></strong></p>
<p class="MsoNormal">Just run the downloaded JAR file using java (JRE). Read below for more details:</p>
<p class="MsoNormal"><a href="http://www.hermesjms.com/confluence/display/HJMS/Installing">http://www.hermesjms.com/confluence/display/HJMS/Installing</a></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong><span style="text-decoration: underline;">3. Screen-Play Tutorial</span></strong></p>
<p class="MsoNormal"><a href="http://www.hermesjms.com/confluence/display/HJMS/JBoss+Tutorial">http://www.hermesjms.com/confluence/display/HJMS/JBoss+Tutorial</a></p>
<p class="MsoNormal">
<p class="MsoNormal"><strong><span style="text-decoration: underline;">4. Sample Settings </span></strong><strong><span style="text-decoration: underline;"><span style="font-size: 8pt;">(</span></span></strong><strong><span style="text-decoration: underline;"><span style="font-size: 9pt;">you will know what these are once you watch the above tutorial)</span> </span></strong></p>
<p class="MsoNormal"><span style="text-decoration: underline;">Provider</span></p>
<p class="MsoNormal">JBoss 4.2.0 (7 jars added)</p>
<p class="MsoNormal"><span style="text-decoration: underline;">Context</span></p>
<p class="MsoNormal">loader                              &lt;&lt;whatever_provider_you_defined&gt;&gt;</p>
<p class="MsoNormal">initialContextFactory:     org.jnp.interfaces.NamingContextFactory</p>
<p class="MsoNormal">providerUrl:                     jnp://&lt;&lt;host&gt;&gt;:1099</p>
<p class="MsoNormal">urlPackagePrefixes         org.jnp.interfaces:org.jboss.naming</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/123/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to remove spyware/malware</title>
		<link>http://www.muneebahmad.com/index.php/archives/114</link>
		<comments>http://www.muneebahmad.com/index.php/archives/114#comments</comments>
		<pubDate>Wed, 15 Jul 2009 20:41:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=114</guid>
		<description><![CDATA[
Try to stop the malware applications/sevices using Windows Task Manager or Process Explorer.
Using &#8220;msconfig&#8221; tool remove malwares from the &#8220;Startup&#8221; list.
Use the below tools (in normal or Safe mode):
MalwareBytes
CCleaner
Spybot-S&#38;D
Ad-aware
Abexo REgistry Cleaner

]]></description>
			<content:encoded><![CDATA[<ol>
<li>Try to stop the malware applications/sevices using Windows Task Manager or Process Explorer.</li>
<li>Using &#8220;msconfig&#8221; tool remove malwares from the &#8220;Startup&#8221; list.</li>
<li>Use the below tools (in normal or Safe mode):<br />
MalwareBytes<br />
CCleaner<br />
Spybot-S&amp;D<br />
Ad-aware<br />
Abexo REgistry Cleaner</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/114/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enterprise Project: Logical Groups and Project Structure</title>
		<link>http://www.muneebahmad.com/index.php/archives/80</link>
		<comments>http://www.muneebahmad.com/index.php/archives/80#comments</comments>
		<pubDate>Thu, 25 Jun 2009 22:23:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=80</guid>
		<description><![CDATA[Logical Grouping (SVN Folders, Eclipse Working Sets)
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
common
service
runtime
server
build
integration
webclient
richclient
Projects by Logical Grouping
============================
common
&#8212;&#8212;-
com.company.product.commons
com.company.product.domain
com.company.product.3rdparty
com.company.product.3rdpartytools
com.company.product.tools
com.company.product.ui
service
&#8212;&#8212;&#8212;-
com.company.product.service.domain01.api
com.company.product.service.domain01.impl
com.company.product.service.domain02.api
com.company.product.service.domain02.impl
runtime
&#8212;&#8212;&#8212;
com.company.product.runtime.database
com.company.product.runtime.jboss
com.company.product.runtime.tomcat
server
&#8212;&#8212;
com.company.product.config
com.company.product.install
com.company.product.schema
com.company.product.server
com.company.product.testdata
com.company.product.workmanager
com.company.product.workflow
com.company.product.esb
build
&#8212;&#8212;
com.company.product
com.company.product.builder
integration
&#8212;&#8212;&#8212;&#8211;
com.company.product.integration.component1
com.company.product.integration.component2
webclient
&#8212;&#8212;&#8212;
com.company.product.web.subproduct.ui
com.company.product.web.subproduct.model
com.company.product.web.subproduct.controller
com.company.product.web.subproduct.dataaccess
richclient
&#8212;&#8212;&#8212;-
com.company.product.client.subproduct.ui
com.company.product.client.subproduct.model
com.company.product.client.subproduct.controller
com.company.product.client.subproduct.dataaccess
]]></description>
			<content:encoded><![CDATA[<p>Logical Grouping (SVN Folders, Eclipse Working Sets)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
common<br />
service<br />
runtime<br />
server<br />
build<br />
integration<br />
webclient<br />
richclient</p>
<p>Projects by Logical Grouping<br />
============================<br />
common<br />
&#8212;&#8212;-<br />
com.company.product.commons<br />
com.company.product.domain<br />
com.company.product.3rdparty<br />
com.company.product.3rdpartytools<br />
com.company.product.tools<br />
com.company.product.ui</p>
<p>service<br />
&#8212;&#8212;&#8212;-<br />
com.company.product.service.domain01.api<br />
com.company.product.service.domain01.impl<br />
com.company.product.service.domain02.api<br />
com.company.product.service.domain02.impl</p>
<p>runtime<br />
&#8212;&#8212;&#8212;<br />
com.company.product.runtime.database<br />
com.company.product.runtime.jboss<br />
com.company.product.runtime.tomcat</p>
<p>server<br />
&#8212;&#8212;<br />
com.company.product.config<br />
com.company.product.install<br />
com.company.product.schema<br />
com.company.product.server<br />
com.company.product.testdata<br />
com.company.product.workmanager<br />
com.company.product.workflow<br />
com.company.product.esb</p>
<p>build<br />
&#8212;&#8212;<br />
com.company.product<br />
com.company.product.builder</p>
<p>integration<br />
&#8212;&#8212;&#8212;&#8211;<br />
com.company.product.integration.component1<br />
com.company.product.integration.component2</p>
<p>webclient<br />
&#8212;&#8212;&#8212;<br />
com.company.product.web.subproduct.ui<br />
com.company.product.web.subproduct.model<br />
com.company.product.web.subproduct.controller<br />
com.company.product.web.subproduct.dataaccess</p>
<p>richclient<br />
&#8212;&#8212;&#8212;-<br />
com.company.product.client.subproduct.ui<br />
com.company.product.client.subproduct.model<br />
com.company.product.client.subproduct.controller<br />
com.company.product.client.subproduct.dataaccess</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/80/feed</wfw:commentRss>
		</item>
		<item>
		<title>Get Exception StackTrace as a String</title>
		<link>http://www.muneebahmad.com/index.php/archives/51</link>
		<comments>http://www.muneebahmad.com/index.php/archives/51#comments</comments>
		<pubDate>Thu, 25 Jun 2009 22:22:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=51</guid>
		<description><![CDATA[
public static String getStackTraceString(Exception e) {
	StringWriter writer = new StringWriter();
	PrintWriter pw = new PrintWriter(writer);
	e.printStackTrace(pw);
	StringBuffer sb = writer.getBuffer();
	return sb.toString();
}

]]></description>
			<content:encoded><![CDATA[<div id="code">
<pre>public static String getStackTraceString(Exception e) {
	StringWriter writer = new StringWriter();
	PrintWriter pw = new PrintWriter(writer);
	e.printStackTrace(pw);
	StringBuffer sb = writer.getBuffer();
	return sb.toString();
}</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/51/feed</wfw:commentRss>
		</item>
		<item>
		<title>Song: Money, money, money</title>
		<link>http://www.muneebahmad.com/index.php/archives/103</link>
		<comments>http://www.muneebahmad.com/index.php/archives/103#comments</comments>
		<pubDate>Thu, 25 Jun 2009 22:22:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Kids]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=103</guid>
		<description><![CDATA[I like money to buy things at the store.
Money, money, money,
I always want more!
A penny&#8217;s worth one cent.
A nickel&#8217;s worth five.
A dime&#8217;s worth ten cents.
A quarter&#8217;s twenty-five.
I like money to buy things at the store.
Money, money, money,
I always want more!
Lincoln&#8217;s on one cent.
Jefferson&#8217;s on five.
Roosevelt&#8217;s on ten cents.
Washington&#8217;s on twenty-five.
I like money to buy things [...]]]></description>
			<content:encoded><![CDATA[<p>I like money to buy things at the store.<br />
Money, money, money,<br />
I always want more!<br />
A penny&#8217;s worth one cent.<br />
A nickel&#8217;s worth five.<br />
A dime&#8217;s worth ten cents.<br />
A quarter&#8217;s twenty-five.</p>
<p>I like money to buy things at the store.<br />
Money, money, money,<br />
I always want more!</p>
<p>Lincoln&#8217;s on one cent.<br />
Jefferson&#8217;s on five.<br />
Roosevelt&#8217;s on ten cents.<br />
Washington&#8217;s on twenty-five.</p>
<p>I like money to buy things at the store.<br />
Money, money, money,<br />
I always want more!</p>
<p>A building&#8217;s on one cent.<br />
A building&#8217;s on five.<br />
A torch is on ten cents.<br />
An eagle&#8217;s on twenty-five.<br />
I like money to buy things at the store.<br />
Money, money, money,<br />
I always want more!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/103/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using SSL With JBOSS</title>
		<link>http://www.muneebahmad.com/index.php/archives/112</link>
		<comments>http://www.muneebahmad.com/index.php/archives/112#comments</comments>
		<pubDate>Wed, 25 Mar 2009 18:44:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Solutions]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=112</guid>
		<description><![CDATA[(1) Generate the keystore using the following command. You will need to enter kestore password, personal information and key password during this step.
keytool -genkey -alias myserver -keyalg RSA -keystore C:\dev\keystore\myserver.keystore
(2) Make sure the the keystore is generated successfully by using the following command.
keytool -list -v -keystore C:\dev\keystore\myserver.keystore
(3) Copy the myserver.keystore file to &#60;&#60;JBOSS_PATH&#62;&#62;\server\default\conf folder.
(4) Add/Uncomment [...]]]></description>
			<content:encoded><![CDATA[<p>(1) Generate the keystore using the following command. You will need to enter kestore password, personal information and key password during this step.<br />
keytool -genkey -alias myserver -keyalg RSA -keystore C:\dev\keystore\myserver.keystore</p>
<p>(2) Make sure the the keystore is generated successfully by using the following command.<br />
keytool -list -v -keystore C:\dev\keystore\myserver.keystore</p>
<p>(3) Copy the myserver.keystore file to &lt;&lt;JBOSS_PATH&gt;&gt;\server\default\conf folder.</p>
<p>(4) Add/Uncomment the below Connector tag to &lt;&lt;JBOSS_PATH&gt;&gt;\server\default\deploy\jboss-web.deployer\server.xml file. The keystorePass in this tag reflects the same password used in step (1).</p>
<p>&lt;Connector port=&#8221;443&#8243; address=&#8221;${jboss.bind.address}&#8221; protocol=&#8221;HTTP/1.1&#8243; SSLEnabled=&#8221;true&#8221;<br />
maxThreads=&#8221;150&#8243; scheme=&#8221;https&#8221; secure=&#8221;true&#8221; clientAuth=&#8221;false&#8221; sslProtocol=&#8221;TLS&#8221;<br />
keystoreFile=&#8221;${jboss.server.home.dir}/conf/myserver.keystore&#8221; keystorePass=&#8221;mypassword&#8221; /&gt;</p>
<p>(5) Start/Restart JBOSS and try the below URL. You should be able to see the usual JBOSS Admin console page.<br />
https://localhost</p>
<p><strong>SSL for Rich Client Applications connecting to SSL-enabled JBOSS</strong></p>
<p>(a) Geneate the jssecacerts file by running the below two (2) commands.<br />
keytool -export -alias myserver -keystore C:\dev\keystore\myserver.keystore -file C:\dev\keystore\myserver.cer<br />
keytool -import -alias myserver -file C:\dev\keystore\myserver.cer -keystore C:\dev\keystore\jssecacerts</p>
<p>(b) Copy the jssecacerts to client JRE&#8217;s lib\security folder.</p>
<p>(c) Make sure the client application executes the below code before it makes a remote call to JBOSS.</p>
<div id="code">
<pre><code>/*
* Handler to verify host names during the negotiation phase of SSL connections.
*/
private void verifyHostNameDuringSslNegotiation() {
  try {
    HttpsURLConnection.setDefaultHostnameVerifier(
      new HostnameVerifier() {
        public boolean verify(String hostbname, SSLSession sess)
        {
		       return true;
	      }
	    }
	  );
  } catch (Exception e) {
	   // IGNORE
  }
}</code></pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/112/feed</wfw:commentRss>
		</item>
		<item>
		<title>Lyrics: We are the Dinosaurs</title>
		<link>http://www.muneebahmad.com/index.php/archives/111</link>
		<comments>http://www.muneebahmad.com/index.php/archives/111#comments</comments>
		<pubDate>Wed, 25 Mar 2009 02:21:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Kids]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=111</guid>
		<description><![CDATA[We are the Dinosaurs
marching, marching&#8230;
We are the dinosaurs.
What you think of that?
We are the dinosaurs
marching, marching.
We are the dinosaurs.
We make the earth flat.
We make the earth flat.
REPEAT
We stop and eat our food when we’re in the mood.
Stop and eat our food on the ground.
We stop and eat our food when we’re in the mood.
Stop and [...]]]></description>
			<content:encoded><![CDATA[<p>We are the Dinosaurs<br />
marching, marching&#8230;<br />
We are the dinosaurs.<br />
What you think of that?<br />
We are the dinosaurs<br />
marching, marching.<br />
We are the dinosaurs.<br />
We make the earth flat.<br />
We make the earth flat.</p>
<p>REPEAT</p>
<p>We stop and eat our food when we’re in the mood.<br />
Stop and eat our food on the ground.<br />
We stop and eat our food when we’re in the mood.<br />
Stop and eat our food and then we march around And then we ROAR!!!<br />
Because we are the dinosaurs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/111/feed</wfw:commentRss>
		</item>
		<item>
		<title>Arts Main Areas</title>
		<link>http://www.muneebahmad.com/index.php/archives/110</link>
		<comments>http://www.muneebahmad.com/index.php/archives/110#comments</comments>
		<pubDate>Wed, 25 Mar 2009 02:14:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Parenting]]></category>

		<guid isPermaLink="false">http://www.muneebahmad.com/?p=110</guid>
		<description><![CDATA[Literature
  Fiction, Non-fiction, poetry, prose, drama
Musical Composition
  voice, instrumentation (or both)
  vocal composition (with or without lyrics)
Photography
  color or BW
  group of images
  Montage, mulitle exposure, negative sandwitches, photograms
  conventional or digital
Visual Arts
  print, drawing, painting, collage,
  photographic collage, metal etching, punch work,
  fiber work, computer generated.
Film Prtoduction
  animation, narrative, documentary, experimental, media presentation
]]></description>
			<content:encoded><![CDATA[<p>Literature<br />
  Fiction, Non-fiction, poetry, prose, drama</p>
<p>Musical Composition<br />
  voice, instrumentation (or both)<br />
  vocal composition (with or without lyrics)</p>
<p>Photography<br />
  color or BW<br />
  group of images<br />
  Montage, mulitle exposure, negative sandwitches, photograms<br />
  conventional or digital</p>
<p>Visual Arts<br />
  print, drawing, painting, collage,<br />
  photographic collage, metal etching, punch work,<br />
  fiber work, computer generated.</p>
<p>Film Prtoduction<br />
  animation, narrative, documentary, experimental, media presentation</p>
]]></content:encoded>
			<wfw:commentRss>http://www.muneebahmad.com/index.php/archives/110/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
