<br><font size=2 face="sans-serif">Hi, </font>
<br>
<br><font size=2 face="sans-serif">I have configured my Shibboleth IDP
and Shibboleth SP. &nbsp;I am being redirected to Shibboleth IDP Login
page when I hit </font><a href=https://localhost/Shibboleth.sso/Login><font size=2 face="sans-serif">https://localhost/Shibboleth.sso/Login</font></a><font size=2 face="sans-serif">
page. On successful login I am being redirected to my application page
which I have configured in Shibboleth2.xml file as homeURL:</font><a href=https://localhost:7006/Url.jsp><font size=2 face="sans-serif">https://localhost:7006/Url.jsp</font></a><font size=2 face="sans-serif">.</font>
<br>
<br><font size=2 face="sans-serif">My application is being protected by
Spring 2 framework. I have configured Pre Auth filter of spring to retrieve
&nbsp;REMOTE_USER attribute from the HTTP header. But I am not able to
get this attribute from the &nbsp;header. </font>
<br>
<br><font size=2 face="sans-serif">I have configured one attribute as follows
:</font>
<br><font size=2 face="sans-serif">Rule:</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;afp:AttributeFilterPolicy
id=&quot;releaseTransientIdToAnyone&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;afp:PolicyRequirementRule
xsi:type=&quot;basic:ANY&quot;/&gt;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;afp:AttributeRule
attributeID=&quot;transientId&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;afp:PermitValueRule xsi:type=&quot;basic:ANY&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/afp:AttributeRule&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;afp:AttributeRule attributeID=&quot;uid&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;afp:PermitValueRule xsi:type=&quot;basic:ANY&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/afp:AttributeRule&gt;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;/afp:AttributeFilterPolicy&gt;</font>
<br>
<br><font size=2 face="sans-serif">Attr resover:</font>
<br>
<br><font size=2 face="sans-serif">&lt;resolver:AttributeDefinition xsi:type=&quot;ad:Simple&quot;
id=&quot;uid&quot; sourceAttributeID=&quot;uid&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;resolver:Dependency ref=&quot;mySIS&quot;
/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;resolver:AttributeEncoder
xsi:type=&quot;enc:SAML1String&quot; name=&quot;urn:mace:dir:attribute-def:uid&quot;
/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;resolver:AttributeEncoder
xsi:type=&quot;enc:SAML2String&quot; name=&quot;urn:oid:0.9.2342.19200300.100.1.1&quot;
friendlyName=&quot;uid&quot; /&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;/resolver:AttributeDefinition&gt;</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">&lt;resolver:DataConnector id=&quot;mySIS&quot;
xsi:type=&quot;dc:RelationalDatabase&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;dc:ApplicationManagedConnection
jdbcDriver=&quot;oracle.jdbc.driver.OracleDriver&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;jdbcURL=&quot;jdbc:oracle:thin:@01hw466242:1521:pbstg&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;jdbcUserName=&quot;ess_admin&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;jdbcPassword=&quot;ESS_321&quot; /&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;dc:QueryTemplate&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;![CDATA[</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; SELECT * FROM SEC_USER_MST WHERE USERNAME = '$requestContext.principalName'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
]]&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dc:QueryTemplate&gt;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;dc:Column
columnName=&quot;USERID&quot; attributeID=&quot;uid&quot; /&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;dc:Column
columnName=&quot;USERNAME&quot; attributeID=&quot;uname&quot; /&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;/resolver:DataConnector&gt;</font>
<br>
<br><font size=2 face="sans-serif">SHibboleth2.xml</font>
<br>
<br><font size=2 face="sans-serif">&lt;ApplicationDefaults entityID=&quot;</font><a href=https://localhost:9001/shibboleth><font size=2 face="sans-serif">https://localhost:9001/shibboleth</font></a><font size=2 face="sans-serif">&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;homeURL=&quot;</font><a href=https://localhost:9001/DigiGOV><font size=2 face="sans-serif">https://localhost:9001/DigiGOV</font></a><font size=2 face="sans-serif">&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;REMOTE_USER=&quot;eppn
targeted-id&quot; </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&gt;</font>
<br>
<br><font size=2 face="sans-serif">I have configured proxy pass from /DigiGOV
to </font><a href=https://localhost:7006/User.jsp><font size=2 face="sans-serif">https://localhost:7006/User.jsp</font></a>
<br>
<br>
<br><font size=2 face="sans-serif">I have confiured ShibbolethHeader On
in apache22.config file. Still the REMOTE_USER is missing from the header.
</font>
<br>
<br><font size=2 face="sans-serif">Please let me know how to use Shibboleth
IDP and Shibboleth SP for Authentication in my application. Further how
can I get attribute from the Shibboleth SP.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks.</font>
<br><font size=2 face="sans-serif"><br>
Regards,<br>
Hardik Jagatkumar Sheth<br>
Tata Consultancy Services<br>
Ph:- 9107966712785<br>
Buzz:- 4792785<br>
Cell:- +919879324464<br>
Mailto: h.sheth@tcs.com<br>
Website: </font><a href=http://www.tcs.com/><font size=2 face="sans-serif">http://www.tcs.com</font></a><font size=2 face="sans-serif"><br>
____________________________________________<br>
Experience certainty. &nbsp; &nbsp; &nbsp; &nbsp;IT Services<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Business Solutions<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Consulting<br>
____________________________________________</font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>