[keycloak-user] keycloak war deployment - cannot configure authenticator for method KEYCLOAK

Vivek Srivastav (vivsriva) vivsriva at cisco.com
Fri Jul 25 15:45:14 EDT 2014


Hi Bill,

Thanks for the info. The keycloak auth service is a really great product
and I have been going through your excellent tutorials at youtube. I think
you and your team has done an incredible job creating this product.

Since, the information about adapter installation is not documented. I
presumed that the adapter would be deployed in the
${JBOSS_HOME}/modules folder. Here¹s what I did, thinking that the
adapters needs to go into the modules folder:

cd $JBOSS_HOME
unzip -un 
~/opt/keycloak/keycloak-war-dist-all-1.0-beta-3/adapters/keycloak-eap6-adap
ter-dist-1.0-beta-3.zip


However, I don¹t think it deployed the adapter. I also tried to deploy the
adapters in jboss-as-7.1.1.Final, thinking that
keycloak-eap6-adapter-dist-1.0-beta-3.zip, since I saw references to as7
and wildly but no eap6 in the zip file.

Regards,
Vivek

Following files are deployed in my modules folder:

modules/system/layers/base/org/keycloak
modules/system/layers/base/org/keycloak/keycloak-adapter-core
modules/system/layers/base/org/keycloak/keycloak-adapter-core/main
modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/keycloak
-adapter-core-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-adapter-core/main/module.x
ml
modules/system/layers/base/org/keycloak/keycloak-as7-adapter
modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main
modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main/keycloak-
as7-adapter-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-as7-adapter/main/module.xm
l
modules/system/layers/base/org/keycloak/keycloak-as7-subsystem
modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main
modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main/keycloa
k-as7-subsystem-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-as7-subsystem/main/module.
xml
modules/system/layers/base/org/keycloak/keycloak-core
modules/system/layers/base/org/keycloak/keycloak-core/main
modules/system/layers/base/org/keycloak/keycloak-core/main/keycloak-core-1.
0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-core/main/module.xml
modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core
modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main
modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main/ke
ycloak-jboss-adapter-core-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-jboss-adapter-core/main/mo
dule.xml
modules/system/layers/base/org/keycloak/keycloak-undertow-adapter
modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main
modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main/keyc
loak-undertow-adapter-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-undertow-adapter/main/modu
le.xml
modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter
modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main
modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main/keycl
oak-wildfly-adapter-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-wildfly-adapter/main/modul
e.xml
modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem
modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main
modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main/key
cloak-wildfly-subsystem-1.0-beta-3.jar
modules/system/layers/base/org/keycloak/keycloak-wildfly-subsystem/main/mod
ule.xml



On 7/25/14, 3:02 PM, "Bill Burke" <bburke at redhat.com> wrote:

>You need to install the adapter.
>
>On 7/25/2014 2:21 PM, Vivek Srivastav (vivsriva) wrote:
>> Hi,
>> I am evaluating keycloak and running into this issue when deploying a
>> web application secured using keycloak:
>>
>> 14:12:59,436 INFO  [org.jboss.web] (ServerService Thread Pool -- 80)
>> JBAS018210: Register web context: /customer-portal
>>
>> 14:12:59,445 ERROR [org.apache.catalina.startup] (ServerService Thread
>> Pool -- 80) JBWEB001034: Cannot configure an authenticator for method
>> KEYCLOAK
>>
>> 14:12:59,446 ERROR [org.jboss.web] (ServerService Thread Pool -- 80)
>> JBAS018206: Webapp [/customer-portal] is unavailable due to startup
>>errors
>>
>>
>> I have updated the customer-app/src/main/webapp/WEB-INF/web.xml app with
>> following login-config parameter
>>
>>      <login-config>
>>
>>          <auth-method>KEYCLOAK</auth-method>
>>
>>          <realm-name>demo</realm-name>
>>
>>      </login-config>
>>
>>
>> I have followed the instructions @
>> 
>>http://docs.jboss.org/keycloak/docs/1.0-beta-3/userguide/html_single/#WAR
>>_distribution_installation and
>> using the following versions of the software:
>>
>> jboss-eap-6.2
>> keycloak-war-dist-all-1.0-beta-3
>>
>> I have in addition to the instructions above,
>>
>> cd $JBOSS_HOME
>>
>> unzip
>> 
>>~/opt/keycloak/keycloak-war-dist-all-1.0-beta-3/adapters/keycloak-eap6-ad
>>apter-dist-1.0-beta-3.zip
>>
>>
>> to update the modules folder.
>>
>> Could you please suggest what I can do to fix this?
>>
>> Regards,
>> Vivek
>>
>>
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>-- 
>Bill Burke
>JBoss, a division of Red Hat
>http://bill.burkecentral.com
>_______________________________________________
>keycloak-user mailing list
>keycloak-user at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list