You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2021/11/18 12:47:00 UTC

[jira] [Closed] (DRILL-4655) Custom Authentication in Window

     [ https://issues.apache.org/jira/browse/DRILL-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Turton closed DRILL-4655.
-------------------------------
    Resolution: Not A Bug

> Custom Authentication in Window
> -------------------------------
>
>                 Key: DRILL-4655
>                 URL: https://issues.apache.org/jira/browse/DRILL-4655
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Sanjiv Kumar
>            Priority: Major
>
> Hello
>         I am using Drill in Window 8.1 with latest version (1.6). 
> I am trying to create custom authentication in in window operating system  following this java file:-
>   https://drill.apache.org/docs/configuring-user-authentication/#implementing-and-configuring-a-custom-authenticator.
> While compiling this java file in window i got error:- 
> cannot find symbol                                                             
>    @UserAuthenticatorTemplate(type = "myCustomAuthenticatorType")
>     ^
>   symbol: class UserAuthenticatorTemplate
> .\org\apache\drill\common\config\DrillConfig.java:44: error: cannot find symbol
> public class DrillConfig extends NestedConfig {
>                                  ^
>   symbol: class NestedConfig
> .\myorg\dept\drill\security\MyCustomDrillUserAuthenticatorImpl.java:36: error: c
> cannot find symbol
>     public void authenticate(String userName, String password) throws UserAuthen
> ticationException {
>                                                                       ^
>   symbol:   class UserAuthenticationException
>   location: class MyCustomDrillUserAuthenticatorImpl
> .\com\google\common\collect\ImmutableList.java:24: error: cannot find symbol
> import static com.google.common.collect.RegularImmutableList.EMPTY;
>                                        ^
>   symbol:   class RegularImmutableList
>   location: package com.google.common.collect
> .\com\google\common\collect\ImmutableList.java:24: error: static import only fro
> m classes and interfaces
> import static com.google.common.collect.RegularImmutableList.EMPTY;
> ^
> .\com\google\common\collect\ImmutableList.java:54: error: cannot find symbol
> public abstract class ImmutableList<E> extends ImmutableCollection<E>
>                                                ^
>   symbol: class ImmutableCollection
> .\com\typesafe\config\Config.java:166: error: cannot find symbol
> public interface Config extends ConfigMergeable {
>                                 ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:179: error: cannot find symbol
>     public void trace(Marker marker, String format, Object arg);
>                       ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:192: error: cannot find symbol
>     public void trace(Marker marker, String format, Object arg1, Object arg2);
>                       ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:204: error: cannot find symbol
>     public void trace(Marker marker, String format, Object... argArray);
>                    ^
>                       
>    symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:320: error: cannot find symbol
>     public void debug(Marker marker, String format, Object arg1, Object arg2);
>                       ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:331: error: cannot find symbol
>     public void debug(Marker marker, String format, Object... arguments);
>                       ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:341: error: cannot find symbol
>     public void debug(Marker marker, String msg, Throwable t);
>                       ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:415: error: cannot find symbol
>     public boolean isInfoEnabled(Marker marker);
>                                  ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:423: error: cannot find symbol
>     public void info(Marker marker, String msg);
>                      ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:433: error: cannot find symbol
>     public void info(Marker marker, String format, Object arg);
>                      ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:445: error: cannot find symbol
>     public void info(Marker marker, String format, Object arg1, Object arg2);
>                      ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:456: error: cannot find symbol
>     public void info(Marker marker, String format, Object... arguments);
>                      ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:466: error: cannot find symbol
>     public void info(Marker marker, String msg, Throwable t);
>                      ^
>   symbol:   class Marker
>   location: interface Logger
> .\org\slf4j\Logger.java:541: error: cannot find symbol
>     public boolean isWarnEnabled(Marker marker);
>                                  ^
>   
>  symbol:   method value()
>   location: @interface GwtIncompatible
> .\com\google\common\collect\ObjectArrays.java:71: error: cannot find symbol
>   @GwtIncompatible("Array.newInstance(Class, int)")
>                    ^
>   symbol:   method value()
>   location: @interface GwtIncompatible
> 60 errors..
> I want to know that what are the required classes and jar files for compiling this java file in window environment.
> Or How i will create  custom authentication in window 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)