<div dir="ltr">Our application is already working with existing attribute-resolver.xml(without dataconnector),<div>I can share my attribute-resolver file, if required.</div><div><br></div><div>I have a question about attribute-resolver.xml,</div><div>We get the required data by using Rest-Api(simple url) from our database(BaseX-xml database).</div><div>Now i wanted to know, how to write the dataconnector using Url to get the data from database?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 12:00 PM, Andrew Morgan <span dir="ltr"><<a href="mailto:morgan@orst.edu" target="_blank">morgan@orst.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 8 Dec 2014, Surinaidu Majji wrote:<br>
<br>
> Since i am using external authentication log-in handler, I am querying our<br>
> database in my defined servlet(externalAuthnPath='url') which is configured<br>
> in handler.xml. I think that's why, we are able to get the principle at SP<br>
> without having DataConnector in attribute-resolver.xml.<br>
><br>
> Please don't consider the below is duplicate information.<br>
> I am querying our database in my defined servlet(externalAuthnPath in<br>
> handler.xml) by sending the credentials entered in login.jsp. then our<br>
> server is giving response with some required information, and the same<br>
> information we are using at SP side by providing Attribute-Definition in<br>
</span>> attribute-resolver.xml but No *DataConnector *in attribute-resolver.xml.<br>
<span class="">><br>
> So here, Querying the database in servlet is equals to putting the<br>
> DataConnector?<br>
><br>
> Is it the reason to get principle at SP side without having Data Connector?<br>
<br>
</span>This is frustrating, perhaps due to the language barrier.<br>
<br>
The SAML response generated by the IDP contains attributes that are<br>
resolved and released according to the configuration of<br>
attribute-resolver.xml and attribute-filter.xml on the IDP.<br>
<br>
The external authentication handler returns the authentication principal<br>
(typically a username) to the IDP so that it can use that as a key to<br>
lookup attributes using a Data Connector.<br>
<br>
If I have this wrong, please, someone else speak up and correct me. I<br>
know of no way that the username or any other attribute can be sent to an<br>
SP without first resolving it from a Data Connector.<br>
<br>
Surinaidu, do you have a specific question about configuring<br>
attribute-resolver.xml?<br>
<div class="HOEnZb"><div class="h5"><br>
Andy<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>