<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1450095908047_4761"><span id="yui_3_16_0_1_1450095908047_4797">There are some drivers (Kundera, Datanucleus, spring cassandra, Hibernate OGM etc) that apparently use JPA to NOSQL conversion that I tried earlier with one project but didn't have a good experience and had to replace the entire persistence layer. On the same subject, if I were to do that (replace Mongodb with Cassandra), where should I start?</span></div><div id="yui_3_16_0_1_1450095908047_4761"><span><br></span></div><div id="yui_3_16_0_1_1450095908047_4761">Thanks,</div><div id="yui_3_16_0_1_1450095908047_4761">Raghu</div><br>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1450095908047_4676"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1450095908047_4675"> <div dir="ltr" id="yui_3_16_0_1_1450095908047_4674"> <font size="2" face="Arial" id="yui_3_16_0_1_1450095908047_4744"> <hr size="1" id="yui_3_16_0_1_1450095908047_4800"> <b><span style="font-weight:bold;">From:</span></b> Marek Posolda &lt;mposolda@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> chanras.sun@jcamst.com; keycloak-dev@lists.jboss.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, December 9, 2015 3:25 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [keycloak-dev] Use Cassandra as storage instead of MySQL and MongoDB<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1450095908047_4745"><br><div id="yiv9340802711"><div id="yui_3_16_0_1_1450095908047_4760">
    <div class="yiv9340802711moz-cite-prefix" id="yui_3_16_0_1_1450095908047_4759">On 09/12/15 06:35,
      <a rel="nofollow" shape="rect" class="yiv9340802711moz-txt-link-abbreviated" ymailto="mailto:chanras.sun@jcamst.com" target="_blank" href="mailto:chanras.sun@jcamst.com" id="yui_3_16_0_1_1450095908047_5028">chanras.sun@jcamst.com</a> wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      </blockquote></div><style>#yiv9340802711 #yiv9340802711 --
 
 _filtered #yiv9340802711 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv9340802711 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv9340802711 {font-family:DaunPenh;panose-1:1 1 1 1 1 1 1 1 1 1;}
#yiv9340802711  
#yiv9340802711 p.yiv9340802711MsoNormal, #yiv9340802711 li.yiv9340802711MsoNormal, #yiv9340802711 div.yiv9340802711MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}
#yiv9340802711 a:link, #yiv9340802711 span.yiv9340802711MsoHyperlink
        {color:#0563C1;text-decoration:underline;}
#yiv9340802711 a:visited, #yiv9340802711 span.yiv9340802711MsoHyperlinkFollowed
        {color:#954F72;text-decoration:underline;}
#yiv9340802711 span.yiv9340802711EmailStyle17
        {color:windowtext;}
#yiv9340802711 .yiv9340802711MsoChpDefault
        {}
 _filtered #yiv9340802711 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv9340802711 div.yiv9340802711WordSection1
        {}
#yiv9340802711 </style><div id="yui_3_16_0_1_1450095908047_4748"><div class="yiv9340802711WordSection1" id="yui_3_16_0_1_1450095908047_4747">
        <div class="yiv9340802711MsoNormal" id="yui_3_16_0_1_1450095908047_4746">Hi,</div> 
        <div class="yiv9340802711MsoNormal" id="yui_3_16_0_1_1450095908047_4749">My core backend system use Cassandra and
          Elasticsearch, running on Wildfly 9.</div> 
        <div class="yiv9340802711MsoNormal" id="yui_3_16_0_1_1450095908047_4750">I need to change keycloak data store
          implementation to use Cassandra instead of MySQL and MongdoDB.
        </div>
      </div>
    
    You have already some existing users data in Cassandra? In that
    case, you can implement federation provider, so your users will be
    visible to Keycloak and imported into Keycloak internal storage. If
    you want to store all core model data in Cassandra (realms, users
    etc), we don't have support for that though. We have just JPA and
    Mongo support now. I wonder if you can't use JPA model to store data
    into Cassandra?<br clear="none">
    <br clear="none">
    <blockquote type="cite">
      <div class="yiv9340802711WordSection1">
        <div class="yiv9340802711MsoNormal">I need also change login, sign up to fit
          with my web app.</div>
      </div>
    </blockquote>
    We have themes support. See documentation and examples.<br clear="none">
    <br clear="none">
    Marek<div class="qtdSeparateBR"><br><br></div><div class="yiv9340802711yqt8193971022" id="yiv9340802711yqtfd63103"><br clear="none">
    <blockquote type="cite">
      <div class="yiv9340802711WordSection1">
        <div class="yiv9340802711MsoNormal"></div> 
        <div class="yiv9340802711MsoNormal">What is the best way to change as I
          mentioned above?</div> 
        <div class="yiv9340802711MsoNormal"> &nbsp;</div> 
        <div class="yiv9340802711MsoNormal"> &nbsp;</div> 
        <div class="yiv9340802711MsoNormal">Best Regards,</div> 
        <div class="yiv9340802711MsoNormal">Sun Chanras</div> 
      </div>
      <br clear="none">
      <fieldset class="yiv9340802711mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
keycloak-dev mailing list
<a rel="nofollow" shape="rect" class="yiv9340802711moz-txt-link-abbreviated" ymailto="mailto:keycloak-dev@lists.jboss.org" target="_blank" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a rel="nofollow" shape="rect" class="yiv9340802711moz-txt-link-freetext" target="_blank" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br clear="none">
  </div></div></div><br><div class="yqt8193971022" id="yqtfd17332">_______________________________________________<br clear="none">keycloak-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:keycloak-dev@lists.jboss.org" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br clear="none"><a shape="rect" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></div><br><br></div> </div> </div></div></body></html>