public final class org.apache.hive.service.auth.AuthenticationProviderFactory extends java.lang.Object
{
private void <init>()
{
org.apache.hive.service.auth.AuthenticationProviderFactory v;
v := @this: org.apache.hive.service.auth.AuthenticationProviderFactory;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public static org.apache.hive.service.auth.PasswdAuthenticationProvider getAuthenticationProvider(org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods) throws javax.security.sasl.AuthenticationException
{
org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods v;
org.apache.hive.service.auth.PasswdAuthenticationProvider v;
v := @parameter: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods;
v = staticinvoke <org.apache.hive.service.auth.AuthenticationProviderFactory: org.apache.hive.service.auth.PasswdAuthenticationProvider getAuthenticationProvider(org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods,org.apache.hadoop.hive.conf.HiveConf)>(v, null);
return v;
}
public static org.apache.hive.service.auth.PasswdAuthenticationProvider getAuthenticationProvider(org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods, org.apache.hadoop.hive.conf.HiveConf) throws javax.security.sasl.AuthenticationException
{
org.apache.hive.service.auth.LdapAuthenticationProviderImpl v;
org.apache.hive.service.auth.PamAuthenticationProviderImpl v;
org.apache.hadoop.hive.conf.HiveConf v, v, v, v;
org.apache.hive.service.auth.AnonymousAuthenticationProviderImpl v;
org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods v, v, v, v, v, v, v, v;
javax.security.sasl.AuthenticationException v;
org.apache.hive.service.auth.CustomAuthenticationProviderImpl v;
v := @parameter: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods;
v := @parameter: org.apache.hadoop.hive.conf.HiveConf;
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods LDAP>;
if v != v goto label;
v = new org.apache.hive.service.auth.LdapAuthenticationProviderImpl;
if v != null goto label;
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods LDAP>;
v = virtualinvoke v.<org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hadoop.hive.conf.HiveConf getConf()>();
goto label;
label:
v = v;
label:
specialinvoke v.<org.apache.hive.service.auth.LdapAuthenticationProviderImpl: void <init>(org.apache.hadoop.hive.conf.HiveConf)>(v);
return v;
label:
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods PAM>;
if v != v goto label;
v = new org.apache.hive.service.auth.PamAuthenticationProviderImpl;
if v != null goto label;
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods PAM>;
v = virtualinvoke v.<org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hadoop.hive.conf.HiveConf getConf()>();
goto label;
label:
v = v;
label:
specialinvoke v.<org.apache.hive.service.auth.PamAuthenticationProviderImpl: void <init>(org.apache.hadoop.hive.conf.HiveConf)>(v);
return v;
label:
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods CUSTOM>;
if v != v goto label;
v = new org.apache.hive.service.auth.CustomAuthenticationProviderImpl;
if v != null goto label;
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods CUSTOM>;
v = virtualinvoke v.<org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hadoop.hive.conf.HiveConf getConf()>();
goto label;
label:
v = v;
label:
specialinvoke v.<org.apache.hive.service.auth.CustomAuthenticationProviderImpl: void <init>(org.apache.hadoop.hive.conf.HiveConf)>(v);
return v;
label:
v = <org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods: org.apache.hive.service.auth.AuthenticationProviderFactory$AuthMethods NONE>;
if v != v goto label;
v = new org.apache.hive.service.auth.AnonymousAuthenticationProviderImpl;
specialinvoke v.<org.apache.hive.service.auth.AnonymousAuthenticationProviderImpl: void <init>()>();
return v;
label:
v = new javax.security.sasl.AuthenticationException;
specialinvoke v.<javax.security.sasl.AuthenticationException: void <init>(java.lang.String)>("Unsupported authentication method");
throw v;
}
}