New Posts New Posts RSS Feed: Implicit Login
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Implicit Login

 Post Reply Post Reply
Author
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Topic: Implicit Login
    Posted: 09-Jul-2012 at 11:00am
Von,
The new authentication implementation is to provide a single authentication process.
i.e. once the user logs in via Authenticator.Instance.Login/LoginAsync(cred) and its result is asigned to the DefaultAuthenticationContext, all EM instances will be authomatically logged in (unles you explicitly set an EM to not use the DefaultAuthenticationContext).
 
You asked "How do we do  the DefaultAuthenticationContext = null in codes?"...
I'm not sure what you mean. If you want to set DefaultAuthenticationContext = null, you can simply:
 
Authenticator.Instance.DefaultAuthenticationContext = null;
 
You will also find this information in the link above.
 
You also asked "how do we fix issue such as "Implicit login is not allowed when AuthenticationContext is logged out?"
If you call logout, you must explicitly log back in in order to perform any operation.
 
Regards,
   Silvio.
 
Back to Top
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Posted: 09-Jul-2012 at 5:16am
Hi,

The devforce version that we're using before is 6.1.4.0 and after we migrated to 6.1.7.1 we experience problems or should I say affected by some breaking changes like the new login.

My question would be is that, what is the new concept behind the new login mechanism because I'm having hard time understanding the release notes on 6.1.6.0 regarding that. What is the purpose of doing that? How do we do  the DefaultAuthenticationContext = null in codes? and how do we fix issue such as "Implicit login is not allowed when AuthenticationContext is logged out."

Thanks,
Von
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down