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);
        }
Exemplo n.º 3
0
 public UserInfo GetUser(string LoggedOnUserName, string LoggedOnPassword)
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetUser(LoggedOnUserName, LoggedOnPassword));
 }
Exemplo n.º 4
0
 public bool IsAuthenticationMember(GroupInfo AuthenticationGroup, UserInfo AuthenticationUser)
 {
     return(AuthenticationProvider.Instance(this.mProviderTypeName).IsAuthenticationMember(AuthenticationGroup, AuthenticationUser));
 }
Exemplo n.º 5
0
 public ArrayList GetGroups()
 {
     return(AuthenticationProvider.Instance(this.mProviderTypeName).GetGroups());
 }
Exemplo n.º 6
0
 public string NetworkStatus()
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetNetworkStatus());
 }
Exemplo n.º 7
0
 public Array AuthenticationTypes()
 {
     return(AuthenticationProvider.Instance(mProviderTypeName).GetAuthenticationTypes());
 }