You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Robles, Rogelio" <Ro...@experian.com> on 2003/09/23 00:53:14 UTC
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