eellak / gsoc2021-sastixcms

Apache License 2.0
7 stars 1 forks source link

Add Keycloak deployment artifacts and authentication #32

Closed ikyranas closed 3 years ago

ikyranas commented 3 years ago

The Keycloak solution is used to authenticate users with the OpenIDC protocol. The Sastix CMS server module is using the keycloak adapter to use the features. More specifically:

This pull request closes #1 , #2 .

iskitsas commented 3 years ago

@ikyrannas ,

I am getting a build error:

[INFO] -------------------------------------------------------------
[ERROR] /Users/iskitsas/gitRepos/sastix/cms/server/src/main/java/com/sastix/cms/server/services/content/impl/ZipHandlerServiceImpl.java:[84,32] reference to newFileSystem is ambiguous
  both method newFileSystem(java.nio.file.Path,java.lang.ClassLoader) in java.nio.file.FileSystems and method newFileSystem(java.nio.file.Path,java.util.Map<java.lang.String,?>) in java.nio.file.FileSystems match
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SASTIX CMS 0.0.1-SNAPSHOT:
[INFO] 
[INFO] SASTIX CMS ......................................... SUCCESS [  0.223 s]
[INFO] Common Library ..................................... SUCCESS [  0.006 s]
[INFO] Common Data Objects ................................ SUCCESS [  2.270 s]
[INFO] Common Services .................................... SUCCESS [  0.887 s]
[INFO] Common Client ...................................... SUCCESS [  0.583 s]
[INFO] Common Api ......................................... SUCCESS [  0.211 s]
[INFO] Server ............................................. FAILURE [  1.744 s]
[INFO] CMS Client ......................................... SKIPPED
[INFO] Integration Tests .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.134 s
[INFO] Finished at: 2021-06-23T09:25:55+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project cms-server: Compilation failure
[ERROR] /Users/iskitsas/gitRepos/sastix/cms/server/src/main/java/com/sastix/cms/server/services/content/impl/ZipHandlerServiceImpl.java:[84,32] reference to newFileSystem is ambiguous
[ERROR]   both method newFileSystem(java.nio.file.Path,java.lang.ClassLoader) in java.nio.file.FileSystems and method newFileSystem(java.nio.file.Path,java.util.Map<java.lang.String,?>) in java.nio.file.FileSystems match

Do you have the same issue?

ikyranas commented 3 years ago

@iskitsas Hello,

I don't have the same issue.

[INFO] SASTIX CMS ......................................... SUCCESS [  0.315 s]
[INFO] Common Library ..................................... SUCCESS [  0.008 s]
[INFO] Common Data Objects ................................ SUCCESS [  3.160 s]
[INFO] Common Services .................................... SUCCESS [  1.374 s]
[INFO] Common Client ...................................... SUCCESS [  0.561 s]
[INFO] Common Api ......................................... SUCCESS [  0.128 s]
[INFO] Server ............................................. SUCCESS [ 25.124 s]
[INFO] CMS Client ......................................... SUCCESS [  2.934 s]
[INFO] Integration Tests .................................. SUCCESS [  1.460 s]

My version of the JDK is

openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

and I have Maven

Apache Maven 3.6.3