Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard Collette  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 12:45 pm
From: Richard Collette <richard.colle...@gmail.com>
Date: Tue, 26 Jun 2012 09:45:49 -0700 (PDT)
Local: Tues, Jun 26 2012 12:45 pm
Subject: IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?

I am using unsolicited assertions.  I wrote an IOpenIdApplicationStore
implementation and configured it in the the provider using the store
element.   The following is the config section.

>   <dotNetOpenAuth>    <openid>      <provider>        <security           requireSsl="false"                       unsolicitedAssertionVerification="RequireSuccess"          />        <behaviors>          <!-- Behaviors activate themselves automatically for individual matching requests.                The first one in this list to match an incoming request "owns" the request.  If no               profile matches, the default behavior is assumed. -->          <!--<add type="DotNetOpenAuth.OpenId.Provider.Behaviors.PpidGeneration, DotNetOpenAuth" />-->        </behaviors>        <!-- Uncomment the following to activate the sample custom store.  -->        <!--<store type="OpenIdProviderWebForms.Code.CustomStore, OpenIdProviderWebForms" />-->        <store type="MyApplication.DataAccess.OpenIdApplicationStoreDao, MyApplication.DataAccess" />      </provider>    </openid>    <messaging>      <untrustedWebRequest>        <whitelistHosts>          <!-- since this is a sample, and will often be used with localhost -->          <add name="localhost"/>                  </whitelistHosts>      </untrustedWebRequest>    </messaging>    <!-- Allow DotNetOpenAuth to publish usage statistics to library authors to improve the library. -->    <reporting enabled="false" />  </dotNetOpenAuth>

My implementation is never loaded.

In looking through the souce code, I only see  
context.Application[ApplicationStoreKey]) read from in OpenIdProvider.cs in
the HttpApplicationStore property and never set anywhere.

Where would I look to find the code that should be instantiating an
instance of my implementation so that I can try to determine why it isn't
being instantiated?  Am I correct that I do need to implement this
interface on the Provider for the unsolicited assertion use case when being
used in a web farm?

Also, my understanding at this point is that the relying party has no need
to implement this interface because they don't need to store nonce values
nor is there an association.

Thank you,
Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Collette  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 1:27 pm
From: Richard Collette <richard.colle...@gmail.com>
Date: Tue, 26 Jun 2012 10:27:44 -0700 (PDT)
Local: Tues, Jun 26 2012 1:27 pm
Subject: Re: IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?

Ignore this.  Somehow the demo solution settings changed such that it was
not starting up both the OP and RP sites which is why my breakpoints
weren't working.  Turns out my implementation is working just fine.   Sorry
for the distraction.  

I am still curious as to what sets  
context.Application[ApplicationStoreKey])  or is this perhaps a left over
artifact that only has the appearance of being used.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Arnott  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 11:41 pm
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Tue, 26 Jun 2012 20:41:44 -0700
Local: Tues, Jun 26 2012 11:41 pm
Subject: Re: [dotnetopenauth] Re: IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?

Hi Richard,

I'm glad you got it working.

The Context.Application thing is still used.  You can find where it is set
here<https://github.com/AArnott/dotnetopenid/blob/master/src/DotNetOpenAut...>
.
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre

On Tue, Jun 26, 2012 at 10:27 AM, Richard Collette <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Collette  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 8:16 am
From: Richard Collette <richard.colle...@gmail.com>
Date: Wed, 27 Jun 2012 05:16:29 -0700 (PDT)
Local: Wed, Jun 27 2012 8:16 am
Subject: Re: [dotnetopenauth] Re: IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?

Andrew,

Thank you, but what I was referring to is the fact that I don't see where a
custom IOpenIdApplicaitonStore would be set for the context.  The line you
referenced only sets a standard provider.  My code is working and this is
not critical so feel free to delay any response, but I am still a little
perplexed.

Thanks,
Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Arnott  
View profile  
 More options Jun 30 2012, 2:15 pm
From: Andrew Arnott <andrewarn...@gmail.com>
Date: Sat, 30 Jun 2012 11:15:18 -0700
Local: Sat, Jun 30 2012 2:15 pm
Subject: Re: [dotnetopenauth] IOpenIdApplicationStore implementation doesn't load for unsolicited assertion use case?

Hi Richard,

Upon closer reading it appears that DNOA only uses the HttpApplication
cache to reuse the standard IOpenIdApplicationStore if a custom one isn't
specified in the .config file.  If reusing a cached instance is important
to you, you can do it by caching it yourself and passing it in explicitly
to the OpenIdProvider constructor.

--
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »