<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">James,<br>
      <br>
      That should be fairly simple. This table is only used by the
      Spring built-in "JdbcUserDetailsService", as specified in the
      configuration here:<br>
      <br>
<a class="moz-txt-link-freetext" href="https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml#L34">https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml#L34</a><br>
      <br>
      The table itself is defined by Spring as a default for this bean,
      and so we pack that one in for simplicity. You can continue to use
      that bean with a different table if you override the queries, as
      described here:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://docs.spring.io/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#nsa-jdbc-user-service">http://docs.spring.io/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#nsa-jdbc-user-service</a><br>
      <br>
      And of course change your DB schema to have the user information
      in another table. Alternatively, you can create a custom user
      details service bean to call your tables or services directly,
      which is what other large deployments do. Most major deployments
      don't use the built-in user details component and instead use a
      different mechanism for user information, usually custom to the
      installation. <br>
      <br>
      Out of curiosity, what is your project that it already has a user
      store and yet you're integrating it directly with the ID server?<br>
      <br>
       -- Justin<br>
      <br>
      On 12/31/2014 3:34 AM, James Yu wrote:<br>
    </div>
    <blockquote
cite="mid:CABFLKB-xj+Ph-1L=EHMUyJry6Sh=U+z0c4PqE2SQfb5co2hOcQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Hi there,<br>
                    <br>
                  </div>
                  I need to integrate MITREid-connect into my project
                  and find out I have table name conflict problem.<br>
                </div>
                MITREid-connect put username and password into a table
                named "USERS" whereas "USERS" is already given to a
                table in my project.<br>
              </div>
              I was expecting to see a table name assignment in model
              entity such as <br>
              @Table(name="user_info")<br>
            </div>
            in DefaultUserInfo.java<br>
            <br>
          </div>
          However, I am unable to find the pattern of<br>
          @Table(name="users")<br>
          <br>
        </div>
        Please teach me how to rename "USERS" table for MITREid-connect,
        thank you.<br>
        <br>
        <br>
        <div>
          <div class="gmail_signature">This is a UTF-8 formatted mail<br>
            -----------------------------------------------<br>
            James C.-C.Yu<br>
            +886988713275<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mitreid-connect mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mitreid-connect@mit.edu">mitreid-connect@mit.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/mitreid-connect">http://mailman.mit.edu/mailman/listinfo/mitreid-connect</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>