Additional question, what are the consequences of leaving unmapped column names like this:
TURBINE_USER.LAST_LOGIN TURBINE_USER.OBJECTDATA TURBINE_USER.CONFIRM_VALUE TURBINE_USER.MODIFIED TURBINE_USER.CREATED TURBINE_USER.LAST_NAME ...or do I necessarily need to map them to something on my legacy table? What about mapping only what overlaps from TURBINE_USER to my MEMBER table, which are: TURBINE_USER.USER_ID --> MEMBER.MEMBER_ID TURBINE_USER.LOGIN_NAME --> MEMBER.MEMBER_ID (* mapped twice) TURBINE_USER.PASSWORD_VALUE --> MEMBER.PASSWORD TURBINE_USER.FIRST_NAME --> MEMBER.NAME TURBINE_USER.EMAIL --> MEMBER.EMAIL My MEMBER table has more columns but those are application specific and I will handle those where is appropriate in my application but Torque Security Service can safely ignore them. Rogelio > -----Original Message----- > From: Robles, Rogelio [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 3:53 PM > To: Turbine Users List (E-mail) > Subject: Torque security service customization > > > > I'm customizing the Torque Security Service to adapt it to a > legacy user > table. > > This table has only one column to identify an user: > MEMBER_ID, Is there any > bad or unknown consequence of mapping this column to the > expected columns: > USER_ID and LOGIN_NAME?? > > The TR.props should include something like this? > > services.SecurityService.user.class = Member > services.SecurityService.torque.userPeer.class = MemberPeer > > services.SecurityService.torque.userPeer.column.name = MEMBER_ID > services.SecurityService.torque.userPeer.column.id = MEMBER_ID > > services.SecurityService.torque.user.property.name = MemberId > services.SecurityService.torque.user.property.id = MemberId > > > If the rest of the columns match there is no need to state that in the > properties file, those are the defaults anyway, right? > > Rogelio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
