Jeeze, I feel stupid now, that was it.. I corrected the return and it all worked, I knew it was something subtle.

Thanks you guys, and sorry for the lack of attention

So now when I login with a user from my custom database, it will be saved in the keycloak tables automatically?


On Fri, May 23, 2014 at 11:17 AM, Stian Thorgersen <stian@redhat.com> wrote:
Did you change the "id" returned from TestAuthenticationProviderFactory.getId?

----- Original Message -----
> From: "Rodrigo Sasaki" <rodrigopsasaki@gmail.com>
> To: "Marek Posolda" <mposolda@redhat.com>
> Cc: "Stian Thorgersen" <stian@redhat.com>, keycloak-user@lists.jboss.org
> Sent: Friday, 23 May, 2014 2:28:28 PM
> Subject: Re: [keycloak-user] Migrating Users Database
>
> OK, I think I messed something up, I did some debugging, and I went down to
> the *getAllProviders(Class<T> clazz) *method inside the*
> DefaultProviderSession
> *class.
>
> when it is invoked with AuthenticationProvider.class as parameter, it
> returns 3 providers
>
> *org.keycloak.authentication.picketlink.PicketlinkAuthenticationProvider*
> *org.keycloak.authentication.model.ExternalModelAuthenticationProvider*
> *org.keycloak.authentication.test.TestAuthenticationProvider*
>
> The weird thing is when *getProvider(Class<T> clazz, String id)* is
> invoked, it's invoked with the following parameters
>
> *getProvider(AuthenticationProvider.class, "model")*
>
> Which I assumed should return me a model provider implementation, but when
> it tries to get the provider factory from the
> *factory.getProviderFactory(clazz,
> id)* it returns my TestAuthenticationProviderFactory.
>
> I couldn't manage to find out how that factory is populated, but I think
> this may help pinpoint the problem, I don't know where I messed up the
> configuration, but this doesn't seem right
>
>
> On Fri, May 23, 2014 at 9:55 AM, Rodrigo Sasaki
> <rodrigopsasaki@gmail.com>wrote:
>
> > It actually exists, I unzipped the war in the target directory, which is
> > the one I'm deploying, and I found all the authentication jars:
> >
> > *keycloak-authentication-api-1.0-beta-1-SNAPSHOT.jar*
> > *keycloak-authentication-test-1.0-beta-1-SNAPSHOT.jar*
> > *keycloak-authentication-model-1.0-beta-1-SNAPSHOT.jar*
> > *keycloak-authentication-picketlink-1.0-beta-1-SNAPSHOT.jar*
> >
> > Maybe I messed up the pom somehow, although I don't see how I could have
> > done it, seeing that I only added the new module
> >
> >
> > On Fri, May 23, 2014 at 9:50 AM, Marek Posolda <mposolda@redhat.com>wrote:
> >
> >>  There is this important message in the log:
> >> 08:19:59,110 WARN
> >>  [org.keycloak.authentication.AuthenticationProviderManager]
> >> (http--127.0.0.1-8080-4) Provider 'model' not available on classpath
> >>
> >> This is an issue because provider "model" is configured by default for
> >> newly created realms and also for keycloak-admin realm. This is provider,
> >> which uses standard keycloak database to verify usernames/passwords
> >> against. Try check again if you have
> >> "keycloak-authentication-model-<VERSION>.jar" available inside
> >> auth-server.war/WEB-INF/lib/ . I assume that no, which is likely the root
> >> cause of the issue.
> >>
> >> Marek
> >>
> >>
> >> On 23.5.2014 13:29, Rodrigo Sasaki wrote:
> >>
> >> Oh, and I did try deleting the folders you mentioned, still had no change.
> >>
> >>
> >> On Fri, May 23, 2014 at 8:21 AM, Rodrigo Sasaki <rodrigopsasaki@gmail.com
> >> > wrote:
> >>
> >>> I'm sorry I failed to mention this, but it is as you suspected.
> >>>
> >>>  The page is displayed normally, but it doesn't allow me to login,
> >>> saying that my credentials are incorrect, even though I'm typing the
> >>> correct password.
> >>>
> >>>  When I try to login, this is printed in the console
> >>>
> >>>  08:19:59,083 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field providers of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,084 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field securityContext of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>>  08:19:59,084 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field uriInfo of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,084 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field headers of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,085 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field request of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,086 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field response of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,087 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field session of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,088 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field transaction of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,088 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field clientConnection of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>>  08:19:59,089 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>> (http--127.0.0.1-8080-4) Field providerSession of subresource
> >>> org.keycloak.services.resources.TokenService will not be injected
> >>> according
> >>> to spec
> >>> 08:19:59,110 WARN
> >>>  [org.keycloak.authentication.AuthenticationProviderManager]
> >>> (http--127.0.0.1-8080-4) Provider 'model' not available on classpath
> >>> 08:19:59,113 WARN  [org.keycloak.audit] (http--127.0.0.1-8080-4)
> >>> event=LOGIN_ERROR, realmId=keycloak-admin,
> >>> clientId=security-admin-console,
> >>> userId=6a45446a-e788-4e94-99ee-ee3e1855ba6b, ipAddress=127.0.0.1,
> >>> error=invalid_user_credentials, username=admin, response_type=code,
> >>> redirect_uri=http://localhost:8080/auth/admin/keycloak-admin/console/,
> >>> auth_method=form
> >>>
> >>>  There's a message saying that provider 'model' isn't available on the
> >>> classpath, but I didn't change anything on the model provider, the only
> >>> alterations I made are the ones I stated earlier
> >>>
> >>>
> >>> On Fri, May 23, 2014 at 5:25 AM, Marek Posolda
> >>> <mposolda@redhat.com>wrote:
> >>>
> >>>>  I can't see any obvious thing you missed. Btv. is the only problem
> >>>> those warnings in the log, or are you not able to login and access admin
> >>>> console? From the log, it seems that login page is displayed?
> >>>>
> >>>> Maybe try to delete your SERVER_HOME/standalone/data ,
> >>>> SERVER_HOME/standalone/tmp and SERVER_HOME/standalone/log and restart
> >>>> the
> >>>> server. After login to admin console and displaying page like
> >>>> http://localhost:8081/auth/admin/keycloak-admin/console/#/realms/keycloak-admin/auth-settingsand
> >>>> click "Add provider", you should be able to see your new
> >>>> AuthenticationProvider in the list of available providers.
> >>>>
> >>>> Marek
> >>>>
> >>>>
> >>>>
> >>>> On 22.5.2014 21:26, Rodrigo Sasaki wrote:
> >>>>
> >>>> I just tried implementing my AuthenticationProvider, and here's what I
> >>>> did
> >>>>
> >>>>  I copied the *authentication-model *and renamed it to
> >>>> *authentication-test* which is the directory where I will implement my
> >>>> provider. (I renamed all references so there wouldn't be duplicates, I
> >>>> just
> >>>> wanted to use the same file structure)
> >>>>
> >>>>  I deleted the Java files and created
> >>>>  *TestAuthenticationProvider.java*and
> >>>> *TestAuthenticationProviderFactory.java*
> >>>>
> >>>>  In both of them I implemented the correct interfaces, and passed on
> >>>> the EntityManager from the Factory to the Provider via the *create*
> >>>> method
> >>>> on the constructor.
> >>>>
> >>>>  I altered the *pom.xml* in *keycloak/authentication* adding my new
> >>>> module like this
> >>>>
> >>>>  <modules>
> >>>>     <module>authentication-api</module>
> >>>>     <module>authentication-model</module>
> >>>>     <module>authentication-picketlink</module>
> >>>>     <module>authentication-test</module>
> >>>> </modules>
> >>>>
> >>>>  I altered the *pom.xml* in *keycloak/server* adding a new dependency
> >>>> like this:
> >>>>
> >>>>  <dependency>
> >>>>     <groupId>org.keycloak</groupId>
> >>>>     <artifactId>keycloak-authentication-model</artifactId>
> >>>>     <version>${project.version}</version>
> >>>> </dependency>
> >>>> <dependency>
> >>>>     <groupId>org.keycloak</groupId>
> >>>>     <artifactId>keycloak-authentication-test</artifactId>
> >>>>     <version>${project.version}</version>
> >>>> </dependency>
> >>>> <dependency>
> >>>>     <groupId>org.keycloak</groupId>
> >>>>     <artifactId>keycloak-authentication-picketlink</artifactId>
> >>>>     <version>${project.version}</version>
> >>>> </dependency>
> >>>>
> >>>>  which is the correct artifactId that I defined in the
> >>>> *keycloak/authentication/authentication-test/pom.xml*
> >>>>
> >>>>  I also created a
> >>>> *keycloak/authentication/authentication-test/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticationProviderFactory*
> >>>> with
> >>>> the following content:
> >>>>
> >>>>  org.keycloak.authentication.test.TestAuthenticationProviderFactory
> >>>>
> >>>>  the package and folder names are all correct.
> >>>>
> >>>>  Now I can deploy it all just fine, but when I access the admin login
> >>>> page, I get this output on my console:
> >>>>
> >>>>  16:12:33,964 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:33,965 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:33,966 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:33,966 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:33,966 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:33,967 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:33,967 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,015 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,016 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,017 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,018 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,019 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,020 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,021 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,037 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,037 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,037 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,037 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,038 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,038 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,038 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,039 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,039 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,039 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,040 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,040 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,041 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,041 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,041 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,042 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,042 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,042 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,043 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,043 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,044 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,050 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,050 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,051 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,051 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,052 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,052 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,053 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,054 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,055 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,056 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,057 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,058 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,058 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,059 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,059 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,060 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,060 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,065 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,066 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,066 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,068 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,085 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,086 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,086 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,086 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,087 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,090 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,091 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,093 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,093 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,094 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,095 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,095 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,096 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,097 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,142 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,142 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,143 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,143 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,143 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,143 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,144 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,144 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,144 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,145 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,145 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,146 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,146 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,147 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,153 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,154 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,155 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,156 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,156 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,157 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,157 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,165 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,166 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,166 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,167 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,167 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,168 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,168 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,175 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,175 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,176 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,177 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,178 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,178 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,179 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,181 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,181 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,182 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,182 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,183 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,183 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,184 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,195 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,195 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,196 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,196 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,197 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,197 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,198 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,198 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,208 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,208 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,210 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,211 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,211 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,212 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-3) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,212 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,213 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,213 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,213 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,214 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,215 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,215 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,216 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,216 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,217 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,217 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,218 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,219 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,219 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,220 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,221 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,222 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,222 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,222 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,223 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,223 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,236 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,236 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,237 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,238 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,238 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,239 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,239 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-1) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,253 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,254 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,254 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,255 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,255 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,255 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,256 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,256 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,256 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,257 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,257 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,258 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,258 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,259 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,259 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-2) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,260 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,260 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,261 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-6) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,262 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,263 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,264 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-5) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,370 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,371 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field request of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,371 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field response of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,372 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field session of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,372 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providers of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,373 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providerSession of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>>  16:12:34,373 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field keycloak of subresource
> >>>> org.keycloak.services.resources.admin.AdminConsole will not be injected
> >>>> according to spec
> >>>> 16:12:34,448 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providers of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,449 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field securityContext of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>>  16:12:34,449 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field uriInfo of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,450 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field headers of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,450 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field request of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,451 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field response of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,451 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field session of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,452 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field transaction of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,452 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field clientConnection of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>>  16:12:34,453 WARNING [org.jboss.resteasy.core.ResourceLocator]
> >>>> (http--127.0.0.1-8080-4) Field providerSession of subresource
> >>>> org.keycloak.services.resources.TokenService will not be injected
> >>>> according
> >>>> to spec
> >>>> 16:12:34,460 INFO  [org.keycloak.services.resources.TokenService]
> >>>> (http--127.0.0.1-8080-4) TokenService.loginPage
> >>>> 16:12:34,474 INFO  [org.keycloak.services.resources.TokenService]
> >>>> (http--127.0.0.1-8080-4) Checking cookie...
> >>>> 16:12:34,474 INFO
> >>>>  [org.keycloak.services.managers.AuthenticationManager]
> >>>> (http--127.0.0.1-8080-4) authenticateIdentityCookie
> >>>> 16:12:34,474 INFO
> >>>>  [org.keycloak.services.managers.AuthenticationManager]
> >>>> (http--127.0.0.1-8080-4) authenticateCookie could not find cookie:
> >>>> KEYCLOAK_IDENTITY
> >>>> 16:12:34,475 INFO  [org.keycloak.services.resources.TokenService]
> >>>> (http--127.0.0.1-8080-4) createLogin() now...
> >>>>
> >>>>  I seem to have messed up something on the ResourceLocator, but I
> >>>> don't know what I did wrong, I followed the instructions to the letter.
> >>>> I
> >>>> also checked the war and I see that the new jar is created correctly
> >>>>
> >>>>
> >>>>
> >>>> On Thu, May 22, 2014 at 10:39 AM, Rodrigo Sasaki <
> >>>> rodrigopsasaki@gmail.com> wrote:
> >>>>
> >>>>> Alright then.
> >>>>>
> >>>>>  I guess I should alter the dependencies in pom.xml then, I just
> >>>>> thought that there was another way defined, perhaps on a different
> >>>>> layer,
> >>>>> and that not having access to Persistence in this layer was because it
> >>>>> was
> >>>>> defined this way.
> >>>>>
> >>>>>  But that sounds simple enough, thank you for your help!
> >>>>>
> >>>>>
> >>>>> On Thu, May 22, 2014 at 10:30 AM, Stian Thorgersen
> >>>>> <stian@redhat.com>wrote:
> >>>>>
> >>>>>> Add a persistence-unit for it to:
> >>>>>>
> >>>>>> *
> >>>>>> standalone/deployments/auth-server.war/WEB-INF/classes/META-INF/persistence.xml
> >>>>>>
> >>>>>> Then use Persistence.createEntityManagerFactory(name) in
> >>>>>> AuthenticationProviderFactory.init, and create a new EntityManager in
> >>>>>> AuthenticationProviderFactory.init and pass into
> >>>>>> AuthenticationProvider.
> >>>>>>
> >>>>>> ----- Original Message -----
> >>>>>> > From: "Rodrigo Sasaki" <rodrigopsasaki@gmail.com>
> >>>>>>  > To: "Marek Posolda" <mposolda@redhat.com>
> >>>>>> > Cc: keycloak-user@lists.jboss.org
> >>>>>> > Sent: Thursday, 22 May, 2014 2:20:39 PM
> >>>>>> > Subject: Re: [keycloak-user] Migrating Users Database
> >>>>>> >
> >>>>>> > Hmm, I see..
> >>>>>> >
> >>>>>> > In that case, since I'm using JPA, what would be the best way for
> >>>>>> me to get
> >>>>>> > access to an EntityManager on my implementation of the
> >>>>>> > AuthenticationProvider?
> >>>>>> >
> >>>>>> >
> >>>>>> > On Mon, May 19, 2014 at 5:20 PM, Marek Posolda <
> >>>>>> mposolda@redhat.com > wrote:
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> > Hi Rodrigo,
> >>>>>> >
> >>>>>> > it's not "Settings and Authentication", but it's tab "Settings" and
> >>>>>> then top
> >>>>>> > bar called "Authentication" inside it. It will be opened if you
> >>>>>> login to
> >>>>>> > admin console and then open URL:
> >>>>>> > http://localhost:8081/auth/admin/#/realms/keycloak-admin (Replace
> >>>>>> > 'keycloak-admin' with name of your realm, for example 'test'). Once
> >>>>>> you open
> >>>>>> > it, you can click to button "Add provider" and your provider should
> >>>>>> be
> >>>>>> > available in the list of available authentication providers.
> >>>>>> >
> >>>>>> > For the inspiration, you can take a look at the existing
> >>>>>> implementations, for
> >>>>>> > example this one:
> >>>>>> >
> >>>>>> https://github.com/keycloak/keycloak/tree/master/authentication/authentication-picketlink
> >>>>>> > and it's configuration in file:
> >>>>>> >
> >>>>>> https://github.com/keycloak/keycloak/blob/master/authentication/authentication-picketlink/src/main/resources/META-INF/services/org.keycloak.authentication.AuthenticationProviderFactory
> >>>>>> > . Note that it's using standard java ServiceLoader mechanism
> >>>>>> described here
> >>>>>> > -
> >>>>>> http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html
> >>>>>> >
> >>>>>> > You don't need implement RealmAdapter . RealmAdapter is not related
> >>>>>> to
> >>>>>> > authentication SPI. It's implementation of interface RealmModel,
> >>>>>> which is
> >>>>>> > part of model-api. You need to implement model-api just in case
> >>>>>> that you
> >>>>>> > want to create your own storage for all keycloak data, but
> >>>>>> implementing
> >>>>>> > whole model-api is much more complicated and challenging than
> >>>>>> implementation
> >>>>>> > of authentication-api.
> >>>>>> >
> >>>>>> > So in shortcut, you need to implement AuthenticationProvider
> >>>>>> interface, which
> >>>>>> > will be able to read data from your internal database.
> >>>>>> >
> >>>>>> > Marek
> >>>>>> >
> >>>>>> >
> >>>>>> > On 19.5.2014 18:05, Rodrigo Sasaki wrote:
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> > I have done most of what you mentioned, although I didn't find the
> >>>>>> "Settings
> >>>>>> > and Authentication" part on the Realm Settings. I couldn't add the
> >>>>>> new
> >>>>>> > provider to it like you said, and the version I'm using is the one
> >>>>>> available
> >>>>>> > on the github repo.
> >>>>>> >
> >>>>>> > Also I saw that I should probably implement a RealmAdapter aswell,
> >>>>>> to provide
> >>>>>> > access to my table structure, is that correct? If so, how should I
> >>>>>> configure
> >>>>>> > Keycloak to use my adapter to find users, and not it's default one?
> >>>>>> Or at
> >>>>>> > least not only it's default one
> >>>>>> >
> >>>>>> >
> >>>>>> > On Fri, May 16, 2014 at 4:50 AM, Stian Thorgersen <
> >>>>>> stian@redhat.com > wrote:
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> > We will add some documentation to this soon, but you basically need
> >>>>>> to:
> >>>>>> >
> >>>>>> > - Implement
> >>>>>> >
> >>>>>> https://github.com/keycloak/keycloak/blob/master/authentication/authentication-api/src/main/java/org/keycloak/authentication/AuthenticationProviderFactory.java
> >>>>>> > - Implement
> >>>>>> >
> >>>>>> https://github.com/keycloak/keycloak/blob/master/authentication/authentication-api/src/main/java/org/keycloak/authentication/AuthenticationProvider.java
> >>>>>> > - Add a
> >>>>>> >
> >>>>>> 'META-INF/services/org.keycloak.authentication.AuthenticationProviderFactory'
> >>>>>> > that contains the fully qualified name of your
> >>>>>> AuthenticationProviderFactory
> >>>>>> > implementation
> >>>>>> >
> >>>>>> > Build as a JAR and drop into
> >>>>>> > keycloak/standalone/deployments/auth-server.war/WEB-INF/lib.
> >>>>>> >
> >>>>>> > Start the server, open the admin console, navigate to realm
> >>>>>> settings and
> >>>>>> > authentication. Click Add Provider and it should now have your new
> >>>>>> provider.
> >>>>>> > Add it to the realm.
> >>>>>> >
> >>>>>> > It will now use your provider to authenticate users.
> >>>>>> >
> >>>>>> > ----- Original Message -----
> >>>>>> > > From: "Rodrigo Sasaki" < rodrigopsasaki@gmail.com >
> >>>>>> > > To: "Bill Burke" < bburke@redhat.com >
> >>>>>> > > Cc: keycloak-user@lists.jboss.org
> >>>>>> > > Sent: Thursday, 15 May, 2014 7:30:00 PM
> >>>>>> > > Subject: Re: [keycloak-user] Migrating Users Database
> >>>>>> > >
> >>>>>> > > By the way, do you have further information regarding that SPI you
> >>>>>> > > mentioned?
> >>>>>> > >
> >>>>>> > > I was looking at the source code but I couldn't derive much from
> >>>>>> it, I
> >>>>>> > > don't
> >>>>>> > > know exactly how I should implement my own provider, and how do I
> >>>>>> tell
> >>>>>> > > keycloak to use mine instead of its own.
> >>>>>> > >
> >>>>>> > >
> >>>>>> > > On Thu, May 15, 2014 at 11:05 AM, Rodrigo Sasaki <
> >>>>>> rodrigopsasaki@gmail.com
> >>>>>> > > >
> >>>>>> > > wrote:
> >>>>>> > >
> >>>>>> > >
> >>>>>> > >
> >>>>>> > > That's quite alright at the moment.
> >>>>>> > >
> >>>>>> > > We have seen the roadmap and if it stays around the announced
> >>>>>> dates, there
> >>>>>> > > shouldn't be a problem for us here.
> >>>>>> > >
> >>>>>> > >
> >>>>>> > > On Thu, May 15, 2014 at 11:03 AM, Bill Burke < bburke@redhat.com>
> >>>>>> > > wrote:
> >>>>>> > >
> >>>>>> > >
> >>>>>> > > FYI, Keycloak will be very slow until we start our performance
> >>>>>> work
> >>>>>> > > (scheduled for Beta-2). Right now, every login/logout/token
> >>>>>> action is
> >>>>>> > > all DB hits. We don't cache anything at the moment!
> >>>>>> > >
> >>>>>> > > On 5/15/2014 7:02 AM, Rodrigo Sasaki wrote:
> >>>>>> > > > I am very interested in importing the whole database. It seems
> >>>>>> to be the
> >>>>>> > > > cleanest way to do what we want to do here, and migrate to
> >>>>>> keycloak
> >>>>>> > > > completely.
> >>>>>> > > >
> >>>>>> > > > Are there any guidelines on how to do this? Nonetheless I will
> >>>>>> look into
> >>>>>> > > > the SPI you mentioned, might come in handy sometime.
> >>>>>> > > >
> >>>>>> > > >
> >>>>>> > > > On Thu, May 15, 2014 at 5:13 AM, Stian Thorgersen <
> >>>>>> stian@redhat.com
> >>>>>> > > > <mailto: stian@redhat.com >> wrote:
> >>>>>> > > >
> >>>>>> > > > At the moment we have an Authentication SPI that will let you
> >>>>>> easily
> >>>>>> > > > authenticate users with your existing database of users. The
> >>>>>> first
> >>>>>> > > > time a new user logs in using this approach a user will be
> >>>>>> pulled in
> >>>>>> > > > to the Keycloak database. There's no documentation for this
> >>>>>> feature
> >>>>>> > > > yet, but look at the SPI at
> >>>>>> > > >
> >>>>>> https://github.com/keycloak/keycloak/tree/master/authentication/authentication-api
> >>>>>> > > > and the implementation that uses the Keycloak model itself to
> >>>>>> > > > authenticate at
> >>>>>> > > >
> >>>>>> https://github.com/keycloak/keycloak/tree/master/authentication/authentication-model
> >>>>>> > > > .
> >>>>>> > > >
> >>>>>> > > > In the future we plan to provide a Sync SPI that will take this
> >>>>>> one
> >>>>>> > > > step further and let you sync users (and roles) to/from an
> >>>>>> existing
> >>>>>> > > > database.
> >>>>>> > > >
> >>>>>> > > > However, if you plan to completely replace your current
> >>>>>> > > > authentication system the cleanest solution may be to import
> >>>>>> your
> >>>>>> > > > current user database into Keycloak once and for all. If you're
> >>>>>> > > > interested in this approach let me know.
> >>>>>> > > >
> >>>>>> > > > ----- Original Message -----
> >>>>>> > > > > From: "Rodrigo Sasaki" < rodrigopsasaki@gmail.com
> >>>>>> > > > <mailto: rodrigopsasaki@gmail.com >>
> >>>>>> > > > > To: keycloak-user@lists.jboss.org
> >>>>>> > > > <mailto: keycloak-user@lists.jboss.org >
> >>>>>> > > > > Sent: Wednesday, 14 May, 2014 8:52:07 PM
> >>>>>> > > > > Subject: [keycloak-user] Migrating Users Database
> >>>>>> > > > >
> >>>>>> > > > > Hi,
> >>>>>> > > > >
> >>>>>> > > > > I'm trying to replace my current authentication system with
> >>>>>> > > > Keycloak, but I
> >>>>>> > > > > have one problem. I already have a database of users,
> >>>>>> populated with
> >>>>>> > > > > millions of records, and I wanted to make it work with
> >>>>>> Keycloak.
> >>>>>> > > > >
> >>>>>> > > > > What would be the best approach on this scenario? Should I
> >>>>>> > > > migrate everything
> >>>>>> > > > > to the Keycloak tables, or try to make Keycloak understand my
> >>>>>> current
> >>>>>> > > > > database?
> >>>>>> > > > >
> >>>>>> > > > > Is there any recommendation on this matter? And if there is,
> >>>>>> some
> >>>>>> > > > explanation
> >>>>>> > > > > or documentation?
> >>>>>> > > > >
> >>>>>> > > > > Thanks!
> >>>>>> > > > >
> >>>>>> > > > > --
> >>>>>> > > > > Rodrigo Sasaki
> >>>>>> > > > >
> >>>>>> > > > > _______________________________________________
> >>>>>> > > > > keycloak-user mailing list
> >>>>>> > > > > keycloak-user@lists.jboss.org <mailto:
> >>>>>> keycloak-user@lists.jboss.org >
> >>>>>> > > > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>> > > >
> >>>>>> > > >
> >>>>>> > > >
> >>>>>> > > >
> >>>>>> > > > --
> >>>>>> > > > Rodrigo Sasaki
> >>>>>> > > >
> >>>>>> > > >
> >>>>>> > > > _______________________________________________
> >>>>>> > > > keycloak-user mailing list
> >>>>>> > > > keycloak-user@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@lists.jboss.org
> >>>>>> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>> > >
> >>>>>> > >admin
> >>>>>> >
> >>>>>> > >
> >>>>>> > > --
> >>>>>> > > Rodrigo Sasaki
> >>>>>> > >
> >>>>>> > >
> >>>>>> > >
> >>>>>> > > --
> >>>>>> > > Rodrigo Sasaki
> >>>>>> > >
> >>>>>> > > _______________________________________________
> >>>>>> > > keycloak-user mailing list
> >>>>>> > > keycloak-user@lists.jboss.org
> >>>>>> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> > --
> >>>>>> > Rodrigo Sasaki
> >>>>>> >
> >>>>>> >
> >>>>>> > _______________________________________________
> >>>>>> > keycloak-user mailing list keycloak-user@lists.jboss.org
> >>>>>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>> >
> >>>>>> >
> >>>>>> > _______________________________________________
> >>>>>> > keycloak-user mailing list
> >>>>>> > keycloak-user@lists.jboss.org
> >>>>>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>> >
> >>>>>> >
> >>>>>> >
> >>>>>> > --
> >>>>>> > Rodrigo Sasaki
> >>>>>> >
> >>>>>> > _______________________________________________
> >>>>>> > keycloak-user mailing list
> >>>>>> > keycloak-user@lists.jboss.org
> >>>>>> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>   --
> >>>>> Rodrigo Sasaki
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>  --
> >>>> Rodrigo Sasaki
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>   --
> >>> Rodrigo Sasaki
> >>>
> >>
> >>
> >>
> >>  --
> >> Rodrigo Sasaki
> >>
> >>
> >>
> >
> >
> > --
> > Rodrigo Sasaki
> >
>
>
>
> --
> Rodrigo Sasaki
>



--
Rodrigo Sasaki