Wish Active Directory

Ilya G.

Active Member
Licensed User
Longtime User
Good day, is it possible wrap this library for Domain Directory Controller or any other?
 
Last edited:

Ilya G.

Active Member
Licensed User
Longtime User
This library compile with errors
B4X:
Starting step: Compiling Java code.
Completed successfully.
Starting step: Creating jar file.
Completed successfully.
Starting step: Creating XML file.
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\ActiveDirectoryAuthenticator.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\ActiveDirectoryBinder.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\ActiveDirectorySearcher.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\LdapContextFactory.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\SimpleActiveDirectorySearcher.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\filters\SearchFilter.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\filters\UsernameFilter.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\mapper\DefaultSearchResultMapper.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\api\mapper\SearchResultMapper.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\cli\ActiveDirectoryCLI.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\exceptions\ActiveDirectoryException.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\exceptions\BadCredentialsException.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\exceptions\NotFoundException.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\util\ActiveDirectoryConfig.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\util\ActiveDirectoryEnvironmentProvider.java...
Loading source file C:\SimpleLibraryCompiler\ddc\src\main\java\io\github\kdabir\adl\util\SearchBaseGuesser.java...
Constructing Javadoc information...
[-doclet, BADoclet]
[-docletpath, C:\SimpleLibraryCompiler]
[-doclet, BADoclet]
[-docletpath, C:\SimpleLibraryCompiler]
[-classpath, C:\Program Files (x86)\Anywhere Software\B4J\B4J.exe\../libraries\jFX.jar;C:\Program Files (x86)\Anywhere Software\B4J\B4J.exe\../libraries\jCore.jar;C:\Program Files (x86)\Java\jdk1.8.0_231\bin\..\jre\lib\jfxrt.jar;]
[-sourcepath, src]
[-b4atarget, C:\B4X\B4X Library\B4J\DDC.xml]
[-b4aignore, org,com.android,com.example,com.hoho]
Ignoring: [org, com.android, com.example, com.hoho]
starting....
Working with class: io.github.kdabir.adl.api.ActiveDirectoryAuthenticator
No ShortName annotation found for class: ActiveDirectoryAuthenticator
Working with class: io.github.kdabir.adl.api.ActiveDirectoryBinder
No ShortName annotation found for class: ActiveDirectoryBinder
Working with class: io.github.kdabir.adl.api.ActiveDirectorySearcher<T>
No ShortName annotation found for class: ActiveDirectorySearcher
Working with class: io.github.kdabir.adl.api.LdapContextFactory
No ShortName annotation found for class: LdapContextFactory
Working with class: io.github.kdabir.adl.api.SimpleActiveDirectorySearcher
No ShortName annotation found for class: SimpleActiveDirectorySearcher
Working with class: io.github.kdabir.adl.api.filters.UsernameFilter
No ShortName annotation found for class: UsernameFilter
Working with class: io.github.kdabir.adl.api.mapper.DefaultSearchResultMapper
No ShortName annotation found for class: DefaultSearchResultMapper
Working with class: io.github.kdabir.adl.cli.ActiveDirectoryCLI
No ShortName annotation found for class: ActiveDirectoryCLI
Working with class: io.github.kdabir.adl.exceptions.ActiveDirectoryException
No ShortName annotation found for class: ActiveDirectoryException
Working with class: io.github.kdabir.adl.exceptions.BadCredentialsException
No ShortName annotation found for class: BadCredentialsException
Working with class: io.github.kdabir.adl.exceptions.NotFoundException
No ShortName annotation found for class: NotFoundException
Working with class: io.github.kdabir.adl.util.ActiveDirectoryConfig
No ShortName annotation found for class: ActiveDirectoryConfig
Working with class: io.github.kdabir.adl.util.ActiveDirectoryEnvironmentProvider
No ShortName annotation found for class: ActiveDirectoryEnvironmentProvider
Working with class: io.github.kdabir.adl.util.SearchBaseGuesser
No ShortName annotation found for class: SearchBaseGuesser
finish: C:\B4X\B4X Library\B4J\DDC.xml
1 warning

Completed successfully.
*** Don't forget to refresh the libraries list in the IDE (right click and choose Refresh) ***

And have error when I check it in B4J Libraries tab

e.png
 

DonManfred

Expert
Licensed User
Longtime User
put io.github into the b4a ignore line.

How does your wrappercode looks like?

I dont see any found wrappercode to compile in the logs.

Note that you can not just use a github project and compile it with SLC without having written a wrapper (in java) for it.
 
Top