<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">* Yasser Afifi <<a href="mailto:yasser@3dissue.com">yasser@3dissue.com</a>> [2016-01-25 11:28]:<br>
> I am trying to get attributes and send it to the SP. after checking the<br>
> logs, i can see that the data connector is working fine and attribute was<br>
> fetched but then it changes to NULL, I can't understand the reason. This is<br>
> the log of the IDP, any help would be much appreciated.<br>
<br>
I think the relevant parts are:<br>
<br>
2016-01-25 10:21:46,230 - DEBUG<br>
[net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:446]<br>
- Attribute Resolver 'ShibbolethAttributeResolver': Attribute<br>
'lastname' has 1 values after post-processing<br>
<br>
and<br>
<br>
2016-01-25 10:21:46,231 - DEBUG<br>
[net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:206]<br>
- Attribute Resolver 'ShibbolethAttributeResolver': Final resolved<br>
attribute collection: [lastname]<br>
<br>
I don't know what that other code does but I wouldn't read "finished<br>
executing expression; result = null" to contradict the log lines<br>
quoted above.<br>
<br>
I.e., the resolver seems to be fine, now look at the attribute filter,<br>
to make sure you're releasing that attribute to your SP.<br>
But from the log line you sent on Jan 22nd in the thread<br>
"Re: users Digest, Vol 55, Issue 117"<br>
your IDP already released that attribute, according to the<br>
idp-audit.log (so process log and DEBUG are both unnecessary to<br>
determine whether an attribute had been released or not).<br>
-peter<br>
---------------------</blockquote><div><br></div><div>Thanks a lot Peter for your reply, this is part of shibd.log file of the SP. can you please tell me if the attribute i am sending is received or not, if not, then what is wrong?!</div><div>Your help would be MUCH APPRECIATED</div><div><br></div><div><br></div><div><br></div><div><div>2016-01-25 15:43:16 INFO Shibboleth.Application : building MetadataProvider of type XML...</div><div>2016-01-25 15:43:16 INFO OpenSAML.MetadataProvider.XML : loaded XML resource (C:/opt/shibboleth-sp/etc/shibboleth/idp-metadata.xml)</div><div>2016-01-25 15:43:17 INFO Shibboleth.Application : no TrustEngine specified or installed, using default chain {ExplicitKey, PKIX}</div><div>2016-01-25 15:43:17 INFO OpenSAML.MetadataProvider.XML : reload thread started...running when signaled</div><div>2016-01-25 15:43:17 INFO Shibboleth.Application : building AttributeExtractor of type XML...</div><div>2016-01-25 15:43:17 WARN Shibboleth.AttributeExtractor.XML : attribute mappings are reloadable; be sure to restart web server when adding new attribute IDs</div><div>2016-01-25 15:43:17 INFO Shibboleth.AttributeExtractor.XML : reload thread started...running when signaled</div><div>2016-01-25 15:43:17 INFO Shibboleth.AttributeExtractor.XML : loaded XML resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-map.xml)</div><div>2016-01-25 15:43:17 INFO Shibboleth.AttributeExtractor.XML : creating mapping for Attribute urn:oid:1.3.6.1.4.1.5923.1.1.1.6</div><div>2016-01-25 15:43:17 INFO Shibboleth.Application : building AttributeFilter of type XML...</div><div>2016-01-25 15:43:17 INFO Shibboleth.AttributeFilter : reload thread started...running when signaled</div><div>2016-01-25 15:43:17 INFO Shibboleth.AttributeFilter : loaded XML resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-policy.xml)</div><div>2016-01-25 15:43:17 INFO Shibboleth.Application : building AttributeResolver of type Query...</div><div>2016-01-25 15:43:17 INFO Shibboleth.Application : building CredentialResolver of type File...</div><div>2016-01-25 15:43:17 INFO XMLTooling.SecurityHelper : loading private key from file (C:/opt/shibboleth-sp/etc/shibboleth/sp-key.pem)</div><div>2016-01-25 15:43:17 INFO XMLTooling.SecurityHelper : loading certificate(s) from file (C:/opt/shibboleth-sp/etc/shibboleth/sp-cert.pem)</div><div>2016-01-25 15:43:17 INFO Shibboleth.Listener : registered remoted message endpoint (default::getHeaders::Application)</div><div>2016-01-25 15:43:17 INFO Shibboleth.Listener : listener service starting</div><div>2016-01-25 15:44:02 WARN Shibboleth.AttributeFilter [1]: no filter policies were loaded, filtering out all attributes from (<a href="https://localhost:8443/idp/shibboleth">https://localhost:8443/idp/shibboleth</a>)</div><div>2016-01-25 15:44:02 INFO Shibboleth.SessionCache [1]: new session created: ID (_203033757cf40b4d7819c0ffb52d0e10) IdP (<a href="https://localhost:8443/idp/shibboleth">https://localhost:8443/idp/shibboleth</a>) Protocol(urn:oasis:names:tc:SAML:2.0:protocol) Address (::1)</div></div><div><br></div><div>Kindest Regards,</div><div>Yasser</div><div><br></div><div> </div></div></div></div>