<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Vimal&#039;s Blog</title>
	<atom:link href="http://vimalp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vimalp.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 11 Nov 2009 00:41:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vimalp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/3bc014cec6f42cadf6d62c5dcd497834?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Vimal&#039;s Blog</title>
		<link>http://vimalp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vimalp.wordpress.com/osd.xml" title="Vimal&#039;s Blog" />
	<atom:link rel='hub' href='http://vimalp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to use fedlet with Access Manager 7.1+</title>
		<link>http://vimalp.wordpress.com/2009/11/10/setup-sso-between-am71-fedlet/</link>
		<comments>http://vimalp.wordpress.com/2009/11/10/setup-sso-between-am71-fedlet/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 00:37:46 +0000</pubDate>
		<dc:creator>vimalp</dc:creator>
				<category><![CDATA[fedlet]]></category>
		<category><![CDATA[tag1]]></category>

		<guid isPermaLink="false">http://vimalp.wordpress.com/?p=3</guid>
		<description><![CDATA[This blog describes how to setup the Single Sign On between Access Manager 7.1+ SAMLv2plugin acting as IDP and OpenSSO fedlet as SP.  I would suggest you to perform the steps mentioned in IDP and FEDLET sections parallely. At the end you should have four xml&#8217;s on each side IDP and Fedlet. Out of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vimalp.wordpress.com&amp;blog=10328803&amp;post=3&amp;subd=vimalp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>This blog describes how to setup the Single Sign On between Access Manager 7.1+ SAMLv2plugin acting as IDP and OpenSSO fedlet as SP.  I would suggest you to perform the steps mentioned in IDP and FEDLET sections parallely.</strong></p>
<p><strong>At the end you should have four xml&#8217;s on each side IDP and Fedlet. Out of the four xml&#8217;s there will be two IDP&#8217;s metadata(eg:- idpMeta.xml, idpExtended.xml&#8230; here name can be anything) and two Fedlet&#8217;s metadata(eg:- sp.xml, sp-extended.xml)<br />
</strong></p>
<ul>
<li><strong>IDP</strong></li>
</ul>
<p><strong> </strong></p>
<p><strong>1. </strong><strong>You can either modify the metadata&#8217;s(idpMeta.xml and idpExtended.xml) in the saml2/meta directory on the Access Manager 7.1 side which are already there or you can create new using the CLI commands. Usually the metadata will be under ‘/opt/SUNWam/saml2/meta’ after installing the saml2 patch</strong></p>
<p><strong> </strong></p>
<p><strong>2. </strong><strong>CLI commands </strong></p>
<ul>
<li>You can create new metadata using saml2meta template command</li>
</ul>
<p># pwd</p>
<p>/opt/SUNWam/saml2/bin</p>
<p># ./saml2meta template -u amadmin -w secret12 -m /tmp/mm.xml -x /tmp/xx.xml -e fedletidp -d /fedletidp</p>
<p>Hosted entity descriptor for realm &#8220;/&#8221; was written to file &#8220;/tmp/mm.xml&#8221; successfully.</p>
<p>Hosted entity config for realm &#8220;/&#8221; was written to file &#8220;/tmp/xx.xml&#8221; successfully.</p>
<ul>
<li>You can import the metadata using saml2meta import command</li>
</ul>
<p># ./saml2meta import -u amadmin -w secret12 -t samplecot -m ..//meta/idpMeta.xml -x ..//meta/idpExtended.xml</p>
<p>File &#8220;..//meta/idpMeta.xml&#8221; was imported successfully.</p>
<p>File &#8220;..//meta/idpExtended.xml&#8221; was imported successfully.</p>
<p># ./saml2meta import -u amadmin -w secret12 -t samplecot -m ..//meta/sp.xml -x ..//meta/sp-extended.xml</p>
<p>File &#8220;..//meta/sp.xml&#8221; was imported successfully.</p>
<p>File &#8220;..//meta/sp-extended.xml&#8221; was imported successfully.</p>
<ul>
<li>You can list the entities present in the circle of trust using the saml2meta cotmember command</li>
</ul>
<p># ./saml2meta cotmember -u amadmin -w secret12 -t samplecot</p>
<p>Listing the trusted entities in the circle of trust: &#8220;samplecot&#8221;.</p>
<p>Entity ID:IDP_ENTITY_ID</p>
<p>Entity ID:FEDLET_ENTITY_ID</p>
<p>Circle of trust &#8220;samplecot&#8221; is listed successfully.</p>
<ul>
<li>You can list all the entities by the saml2meta list command</li>
</ul>
<p># ./saml2meta list -u amadmin -w secret12</p>
<p>Listing all the entity id(s) in the system:</p>
<p>Entity ID: IDP_ENTITY_ID</p>
<p>Entity ID: FEDLET_ENTITY_ID</p>
<p>Operation: list is executed successfully.</p>
<ul>
<li>You can delete the entity using the saml2meta delete command</li>
</ul>
<p># ./saml2meta delete -u amadmin -w secret12 -e IDP_ENTITY_ID</p>
<p>Descriptor and config for entity &#8220;IDP_ENTITY_ID&#8221; was deleted successfully.</p>
<ul>
<li>After deleting you can verify using the saml2meta list and saml2meta cotmember commands to see if that entity is deleted</li>
</ul>
<p># ./saml2meta list -u amadmin -w secret12</p>
<p>Listing all the entity id(s) in the system:</p>
<p>Entity ID:FEDLET_ENTITY_ID</p>
<p>Operation: list is executed successfully.</p>
<p># ./saml2meta cotmember -u amadmin -w secret12 -t samplecot</p>
<p>Listing the trusted entities in the circle of trust: &#8220;samplecot&#8221;.</p>
<p>Entity ID: FEDLET_ENTITY_ID</p>
<p>Circle of trust &#8220;samplecot&#8221; is listed successfully.</p>
<p><strong>3. </strong><strong>Keystore Info</strong></p>
<ul>
<li>Assume that there is a CA approved certificate with alias ‘test’ in keystore ‘keystore.jks’</li>
</ul>
<p># /usr/jdk/jdk1.5.0_12/bin/./keytool -export -keystore /etc/opt/SUNWam/config/keystore.jks -rfc -alias test</p>
<p>Enter keystore password:  changeit</p>
<p>&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;</p>
<p>MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</p>
<p>bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</p>
<p>ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</p>
<p>CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</p>
<p>BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</p>
<p>AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</p>
<p>RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</p>
<p>Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</p>
<p>QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</p>
<p>cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</p>
<p>/FfwWigmrW0Y0Q==</p>
<p>&#8212;&#8211;END CERTIFICATE&#8212;&#8211;</p>
<p><strong> </strong></p>
<p><strong>4. </strong><strong>idpMeta.xml</strong></p>
<ul>
<li>Put the KeyDescriptor block before ArtifactResolutionService block.</li>
<li>Here X509Certificate is the certificate that is taken from the keystore.jks.</li>
<li>Follow the Keystore Info for details</li>
</ul>
<p style="padding-left:30px;">&lt;KeyDescriptor use=&#8221;signing&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;ds:KeyInfo xmlns:ds=&#8221;http://www.w3.org/2000/09/xmldsig#&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;ds:X509Data&gt;</p>
<p style="padding-left:120px;">&lt;ds:X509Certificate&gt;</p>
<p>MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</p>
<p>bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</p>
<p>ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</p>
<p>CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</p>
<p>BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</p>
<p>AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</p>
<p>RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</p>
<p>Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</p>
<p>QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</p>
<p>cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</p>
<p>/FfwWigmrW0Y0Q==</p>
<p style="padding-left:120px;">&lt;/ds:X509Certificate&gt;</p>
<p style="padding-left:90px;">&lt;/ds:X509Data&gt;</p>
<p style="padding-left:60px;">&lt;/ds:KeyInfo&gt;</p>
<p style="padding-left:30px;">&lt;/KeyDescriptor&gt;</p>
<p style="padding-left:30px;">&lt;KeyDescriptor use=&#8221;encryption&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;ds:KeyInfo xmlns:ds=&#8221;http://www.w3.org/2000/09/xmldsig#&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;ds:X509Data&gt;</p>
<p style="padding-left:120px;">&lt;ds:X509Certificate&gt;</p>
<p>MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</p>
<p>bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</p>
<p>ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</p>
<p>CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</p>
<p>BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</p>
<p>AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</p>
<p>RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</p>
<p>Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</p>
<p>QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</p>
<p>cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</p>
<p>/FfwWigmrW0Y0Q==</p>
<p style="padding-left:120px;">&lt;/ds:X509Certificate&gt;</p>
<p style="padding-left:90px;">&lt;/ds:X509Data&gt;</p>
<p style="padding-left:60px;">&lt;/ds:KeyInfo&gt;</p>
<p style="padding-left:60px;">&lt;EncryptionMethod Algorithm=&#8221;http://www.w3.org/2001/04/xmlenc#aes128-cbc&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;xenc:KeySize xmlns:xenc=&#8221;http://www.w3.org/2001/04/xmlenc#&#8221;&gt;128&lt;/xenc:KeySize&gt;</p>
<p style="padding-left:60px;">&lt;/EncryptionMethod&gt;</p>
<p style="padding-left:30px;">&lt;/KeyDescriptor&gt;</p>
<p><strong>5. </strong><strong>idpExtended.xml</strong></p>
<ul>
<li>Add the certificate alias to these xml blocks</li>
</ul>
<p style="padding-left:30px;">&lt;Attribute name=&#8221;signingCertAlias&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;test&lt;/Value&gt;</p>
<p style="padding-left:30px;">&lt;/Attribute&gt;</p>
<p style="padding-left:30px;">&lt;Attribute name=&#8221;encryptionCertAlias&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;test&lt;/Value&gt;</p>
<p style="padding-left:30px;">&lt;/Attribute&gt;</p>
<ul>
<li>Now add the attributeMap as shown below</li>
</ul>
<p style="padding-left:30px;">&lt;Attribute name=&#8221;attributeMap&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;Mail=mail&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;GivenName=givenname&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;UserStatus=inetuserstatus&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;CommonName=cn&lt;/Value&gt;</p>
<p style="padding-left:30px;">&lt;/Attribute&gt;</p>
<ul>
<li>Note: You can fetch any attribute but make sure it is there in the attributeMap of idp-extended and sp-extended xml’s</li>
</ul>
<p><strong>6. </strong><strong>Now import the fedlet metadata&#8217;s which will be sp.xml and sp-extended.xml after all the necessary changes are done based on the FEDLET section. Make sure</strong></p>
<ul>
<li>sp-extended.xml when imported on idp it is with hosted=0</li>
</ul>
<p>&lt;EntityConfig entityID=&#8221;FEDLET_ENTITY_ID&#8221; hosted=&#8221;0&#8243; xmlns=&#8221;urn:sun:fm:SAML:2.0:entityconfig&#8221;&gt;</p>
<p><strong>7. Server restart </strong></p>
<p># /var/opt/SUNWwbsvr7/https-vp227006.red.iplanet.com/bin/./stopserv</p>
<p>server has been shutdown</p>
<p># /var/opt/SUNWwbsvr7/https-vp227006.red.iplanet.com/bin/./startserv</p>
<p>Sun Java System Web Server 7.0U1 B07/18/2007 14:21</p>
<p>info: CORE3016: daemon is running as super-user</p>
<p>info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_12] from [Sun Microsystems Inc.]</p>
<p>info: WEB0100: Loading web module in virtual server [vp227006.red.iplanet.com] at [/ampassword]</p>
<p>warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding</p>
<p>info: WEB0100: Loading web module in virtual server [vp227006.red.iplanet.com] at [/amcommon]</p>
<p>warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding</p>
<p>info: WEB0100: Loading web module in virtual server [vp227006.red.iplanet.com] at [/amserver]</p>
<p>warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding</p>
<p>info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class</p>
<p>info: &#8220;mfwk.multicast.disableloopback&#8221; set to false</p>
<p>info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class</p>
<p>info: LogFile is: //var/opt/SUNWmfwk/logs/instrum.%g</p>
<p>info: HTTP3072: http-listener-1: http://vp227006.red.iplanet.com:80 ready to accept requests</p>
<p>info: CORE3274: successful server startup</p>
<ul>
<li><strong>FEDLET</strong></li>
</ul>
<p><strong>1. </strong><strong>Get the fedlet.war from the Fedlet-unconfigured.zip and deploy it on the container</strong></p>
<p><strong> </strong></p>
<p><strong>2. </strong><strong>Remember Access Manager 7.1 does not support SAMLv2 Single Logout, SAMLv2 Attribute Query, SAMLv2 XACML Query, so they should be removed from the fedlet xml’s</strong></p>
<p><strong> </strong></p>
<p><strong>3. </strong><strong>create a directory ‘fedlet’ under user.home </strong></p>
<p>Ex:-      In Windows it is usually C:\Users\Administrator\fedlet(in Vista) or C:\Documents and Settings\Administrator\fedlet(in Windows Server 2003)</p>
<p>In Solaris/Linux it is usually /fedlet or /root/fedlet</p>
<p><strong>4. </strong><strong>copy all the configuration files(fedlet.cot, sp.xml, sp-extended.xml, idp.xml, idp-extended.xml, FederationConfig.properties) to the fedlet directory</strong></p>
<p><strong>5. Make these changes in sp.xml and sp-extended.xml according to your fedlet configuration</strong></p>
<p>FEDLET_ENTITY_ID  : replace with the real entity id (name) for your Fedlet (SP). e.g. &#8220;fedletsp&#8221;.<br />
FEDLET_PROTOCOL   : replace with the protocol of the web container the fedlet.war will be deployed, e.g. &#8220;http&#8221;.<br />
FEDLET_HOST       : replace with the host name of the web container the fedlet.war will be deployed, e.g. &#8220;www.samples.com&#8221;.<br />
FEDLET_PORT       : replace with port number of the web container the fedlet.war will be deployed, e.g. &#8220;80&#8243;.<br />
FEDLET_DEPLOY_URI : replace with deployment URI of the web container the fedlet.war will be deployed, e.g. fedlet&#8221;.<br />
IDP_ENTITY_ID     : replace with the real entity id (name) for your remote IDP. e.g. &#8220;myidp&#8221;.</p>
<p><strong> </strong></p>
<p><strong>6. </strong><strong>sp.xml</strong></p>
<ul>
<li>Remove Single Logout for Http-Post link</li>
</ul>
<p style="padding-left:30px;">&lt;SingleLogoutService Binding=&#8221;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&#8221; Location=&#8221;http://FEDLET_URL/fedletSloPOST&#8221;                      ResponseLocation=&#8221;http://&lt;FEDLET_URL&gt;/fedletSloPOST&#8221;/&gt;</p>
<ul>
<li>Remove RoleDescriptor and XacmlAuthzDecisionQueryDescriptor blocks. If you have the certificate then you will see the KeyDescriptor blocks inside the RoleDescriptor otherwise not.</li>
</ul>
<p style="padding-left:30px;">&lt;RoleDescriptor xmlns:xsi=&#8221;http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:type=&#8221;query:AttributeQueryDescriptorType&#8221;</p>
<p style="padding-left:30px;">protocolSupportEnumeration=&#8221;urn:oasis:names:tc:SAML:2.0:protocol&#8221; xmlns:query=&#8221;urn:oasis:names:tc:SAML:metadata:ext:query&#8221;&gt;</p>
<p style="padding-left:30px;">&lt;KeyDescriptor use=&#8221;signing&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;ds:KeyInfo xmlns:ds=&#8221;http://www.w3.org/2000/09/xmldsig#&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;ds:X509Data&gt;</p>
<p style="padding-left:120px;">&lt;ds:X509Certificate&gt;</p>
<p>MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</p>
<p>bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</p>
<p>ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</p>
<p>CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</p>
<p>BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</p>
<p>AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</p>
<p>RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</p>
<p>Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</p>
<p>QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</p>
<p>cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</p>
<p>/FfwWigmrW0Y0Q==</p>
<p style="padding-left:120px;">&lt;/ds:X509Certificate&gt;</p>
<p style="padding-left:90px;">&lt;/ds:X509Data&gt;</p>
<p style="padding-left:60px;">&lt;/ds:KeyInfo&gt;</p>
<p style="padding-left:30px;">&lt;/KeyDescriptor&gt;</p>
<p style="padding-left:30px;">&lt;KeyDescriptor use=&#8221;encryption&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;ds:KeyInfo xmlns:ds=&#8221;http://www.w3.org/2000/09/xmldsig#&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;ds:X509Data&gt;</p>
<p style="padding-left:120px;">&lt;ds:X509Certificate&gt;</p>
<p>MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</p>
<p>bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</p>
<p>ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</p>
<p>CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</p>
<p>BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</p>
<p>AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</p>
<p>RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</p>
<p>Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</p>
<p>QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</p>
<p>cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</p>
<p>/FfwWigmrW0Y0Q==</p>
<p style="padding-left:120px;">&lt;/ds:X509Certificate&gt;</p>
<p style="padding-left:90px;">&lt;/ds:X509Data&gt;</p>
<p style="padding-left:60px;">&lt;/ds:KeyInfo&gt;</p>
<p style="padding-left:60px;">&lt;EncryptionMethod Algorithm=&#8221;http://www.w3.org/2001/04/xmlenc#aes128-cbc&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;xenc:KeySize xmlns:xenc=&#8221;http://www.w3.org/2001/04/xmlenc#&#8221;&gt;128&lt;/xenc:KeySize&gt;</p>
<p style="padding-left:60px;">&lt;/EncryptionMethod&gt;</p>
<p style="padding-left:30px;">&lt;/KeyDescriptor&gt;</p>
<p style="padding-left:30px;">&lt;/RoleDescriptor&gt;</p>
<p style="padding-left:30px;">&lt;XACMLAuthzDecisionQueryDescriptor WantAssertionsSigned=&#8221;false&#8221; protocolSupportEnumeration=&#8221;urn:oasis:names:tc:SAML:2.0:protocol&#8221;/&gt;</p>
<p><strong>7. </strong><strong>sp-extended.xml</strong></p>
<ul>
<li>Remove AttributeQueryConfig block which is the Attribute Query</li>
</ul>
<p style="padding-left:30px;">&lt;AttributeQueryConfig metaAlias=&#8221;/attrQuery&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;signingCertAlias&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;test&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;encryptionCertAlias&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;test&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;wantNameIDEncrypted&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value/&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;cotlist&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;FEDLET_COT&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:30px;">&lt;/AttributeQueryConfig&gt;</p>
<ul>
<li>Similarly Remove XACMLAuthzDecisionQueryConfig block which is the Xacml Query</li>
</ul>
<p style="padding-left:30px;">&lt;XACMLAuthzDecisionQueryConfig metaAlias=&#8221;/pep&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;signingCertAlias&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value/&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;encryptionCertAlias&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value/&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;basicAuthOn&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;false&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;basicAuthUser&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value/&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;basicAuthPassword&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value/&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;wantXACMLAuthzDecisionResponseSigned&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;false&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;wantAssertionEncrypted&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;false&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:60px;">&lt;Attribute name=&#8221;cotlist&#8221;&gt;</p>
<p style="padding-left:90px;">&lt;Value&gt;FEDLET_COT&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;/Attribute&gt;</p>
<p style="padding-left:30px;">&lt;/XACMLAuthzDecisionQueryConfig&gt;</p>
<ul>
<li>Now add the attributeMap as shown below.</li>
</ul>
<p style="padding-left:30px;">&lt;Attribute name=&#8221;attributeMap&#8221;&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;Mail=mail&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;GivenName=givenname&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;UserStatus=inetuserstatus&lt;/Value&gt;</p>
<p style="padding-left:60px;">&lt;Value&gt;CommonName=cn&lt;/Value&gt;</p>
<p style="padding-left:30px;">&lt;/Attribute&gt;</p>
<ul>
<li>Note: You can fetch any attribute but make sure it is there in the attributeMap of idp-extended and sp-extended xml’s</li>
</ul>
<p><strong>8. </strong><strong>Now import the idpmetadata&#8217;s which will be idpMeta.xml and idpExtended.xml after all the necessary changes are done based on the IDP section. </strong><strong>Make sure</strong></p>
<ul>
<li>idp-extended.xml when imported on fedlet it is with hosted=0</li>
</ul>
<p style="padding-left:30px;">&lt;EntityConfig xmlns=&#8221;urn:sun:fm:SAML:2.0:entityconfig&#8221; xmlns:fm=&#8221;urn:sun:fm:SAML:2.0:entityconfig&#8221; hosted=&#8221;0&#8243; entityID=&#8221;IDP_ENTITY_ID&#8221;&gt;</p>
<p><strong>9. </strong><strong>Restart fedlet container </strong></p>
<p><strong> </strong></p>
<p><strong>10. </strong><strong>Troubleshooting</strong></p>
<p><strong> </strong></p>
<ul>
<li>Check for any errors in the debug directory. Fedlet’s debug directory is under FEDLET_HOME.</li>
<li>Ex:- In Solaris it is /fedlet/debug or /root/fedlet/debug</li>
<li>In Windows it is under C:\Documents and Settings\Administrator\fedlet\debug or C:\Users\Administrator\fedlet</li>
<li>Also you can check the index.jsp bundled inside the fedlet.war for the specific errors</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vimalp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vimalp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vimalp.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vimalp.wordpress.com&amp;blog=10328803&amp;post=3&amp;subd=vimalp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vimalp.wordpress.com/2009/11/10/setup-sso-between-am71-fedlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0424f3d5c5d45cad3c3fbcd855811989?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vimalp</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://vimalp.wordpress.com/2009/11/08/hello-world/</link>
		<comments>http://vimalp.wordpress.com/2009/11/08/hello-world/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 05:55:21 +0000</pubDate>
		<dc:creator>vimalp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vimalp.wordpress.com&amp;blog=10328803&amp;post=1&amp;subd=vimalp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vimalp.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vimalp.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vimalp.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vimalp.wordpress.com&amp;blog=10328803&amp;post=1&amp;subd=vimalp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vimalp.wordpress.com/2009/11/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0424f3d5c5d45cad3c3fbcd855811989?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vimalp</media:title>
		</media:content>
	</item>
	</channel>
</rss>
