Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AuthenticatedLicenseProvider.Reauthenticate returns null

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
r.stoeckli@carross.ch



Joined: 08 Sep 2015
Posts: 1

PostPosted: Tue Sep 08, 2015 9:35 am    Post subject: AuthenticatedLicenseProvider.Reauthenticate returns null Reply with quote

Hello,

I've got a problem with the AuthenticatedLicenseProvider.Reauthenticate method.

I'm calling this method on application's startup to proof if the installed license is still valid.

The problem is, that if a user opens and closes the application in short intervals, the method returns "null" although the license should be valid.

If i try it later again, the method returns the expected authenticated license.

Is this a protective mechanism or something similiar?

And if yes, can I increase the count of "reauthenticate"-calls before the mechanism will take effect?

Yours faithfully
Roman Stöckli
Developer
Autin AG
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 4884

PostPosted: Wed Sep 09, 2015 5:53 am    Post subject: Reply with quote

If you are using Version 5 of ILS or earlier then the Reauthenticate method has Denial of Service (DoS) protection turned on by default. This means that if there are too many calls within a specified period from a single IP address then the method will not execute and just returns null. You can control the DoS settings using the parameters in the Web.Config file for the Authentication Service. To turn off DoS altogether set CheckCallerIP to False. You can also change the number of allowed calls (by default 10) or the period over which these calls are allowed (by default 60 seconds).

In Version 6 DoS protection is only used for the Authenticate method - to prevent brute force attacks.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group