public new static AuthenticationProvider Instance(string AuthenticationTypeName)
 {
     //CreateProvider()
     PortalSettings _portalSettings = PortalController.GetCurrentPortalSettings();
     string strKey = "AuthenticationProvider" + _portalSettings.PortalId.ToString();
     objProvider = (AuthenticationProvider)Reflection.CreateObject(AuthenticationTypeName, strKey);
     return objProvider;
 }
        static AuthenticationProvider()
        {
            PortalSettings _portalSettings = PortalController.GetCurrentPortalSettings();
            //Dim _config As Authentication.Configuration = Authentication.Configuration.GetConfig(_portalSettings.PortalId)
            Configuration _config = Configuration.GetConfig();
            string strKey = "AuthenticationProvider" + _portalSettings.PortalId.ToString();

            objProvider = (AuthenticationProvider)Reflection.CreateObject(_config.ProviderTypeName, strKey);
        }
Exemple #3
0
 public UserInfo GetUser(string LoggedOnUserName, string LoggedOnPassword)
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetUser(LoggedOnUserName, LoggedOnPassword));
 }
Exemple #4
0
 public bool IsAuthenticationMember(GroupInfo AuthenticationGroup, UserInfo AuthenticationUser)
 {
     return(AuthenticationProvider.Instance(this.mProviderTypeName).IsAuthenticationMember(AuthenticationGroup, AuthenticationUser));
 }
Exemple #5
0
 public ArrayList GetGroups()
 {
     return(AuthenticationProvider.Instance(this.mProviderTypeName).GetGroups());
 }
Exemple #6
0
 public string NetworkStatus()
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetNetworkStatus());
 }
Exemple #7
0
 public Array AuthenticationTypes()
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetAuthenticationTypes());
 }