[prev in list] [next in list] [prev in thread] [next in thread]
List: keycloak-dev
Subject: [keycloak-dev] (no subject)
From: mposolda () redhat ! com (Marek Posolda)
Date: 2017-08-03 13:46:35
Message-ID: 34591f06-087e-6eef-2474-8aea05ea8a2b () redhat ! com
[Download RAW message or body]
Hmm.. Is it possible to have blacklist password policy implementation
without this dependency? We are trying to not introduce much 3rd party
dependencies, so not sure if it's possible to accept PR with this
additional dependency...
Anyway, I think you need to update
distribution/feature-packs/server-feature-pack . Add dependency to
pom.xml file and to modules directory. Also add it as dependency to
server-spi-private module.
Marek
On 31/07/17 17:24, Thomas Darimont wrote:
> Hello,
>
> how can I add a new dependency to the keycloak modules/system/layers/base
> when building
> a server-distribution?
>
> I need to add org.apache.commons:commons-collections4 for the PatriciaTrie
> which I need for
> my BlacklistPasswordPolicyProvider: [0]
>
> I tried adding a dependency to keycloak/dependencies/server-all/pom.xml but
> I still get
> CNFEs if I try to run the server from the dist-build.
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.collections4.trie.PatriciaTrie from [Module
> "org.keycloak.keycloak-server-spi-private" from local module loader
> @282ba1e (finder: local module finder @13b6d03 (roots:
> /home/tom/dev/playground/keycloak/keycloak-3.3.0.CR1-SNAPSHOT/modules,/home/tom/dev/ \
> playground/keycloak/keycloak-3.3.0.CR1-SNAPSHOT/modules/system/layers/keycloak,/home \
> /tom/dev/playground/keycloak/keycloak-3.3.0.CR1-SNAPSHOT/modules/system/layers/base))]
>
> Cheers,
> Thomas
>
> [0]
> https://github.com/thomasdarimont/keycloak/commit/59a84df2f70623f11bd4d78771a4b91422fa0286
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic