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