com.genexus.security.GXSecurityProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxclassR Show documentation
Show all versions of gxclassR Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.security;
import com.genexus.diagnostics.core.ILogger;
import com.genexus.diagnostics.core.LogManager;
public class GXSecurityProvider
{
public static final ILogger logger = LogManager.getLogger(GXSecurityProvider.class);
private static SecurityProvider instance = null;
public static SecurityProvider getInstance()
{
if(instance == null)
{
try
{
Class> c = Class.forName("genexus.security.GAMSecurityProvider");
instance = (SecurityProvider)c.getDeclaredConstructor().newInstance();
}
catch(Exception e)
{
instance = new NoSecurityProvider();
logger.error("GAMSecurityProvider class not found.");
}
}
return instance;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy