1 package org.apache.turbine.services.security.torque;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import org.apache.turbine.services.security.torque.om.TurbineGroupPeer;
20
21 /***
22 * Constants for configuring the various columns and bean properties
23 * for the used peer.
24 *
25 * <pre>
26 * Default is:
27 *
28 * security.torque.groupPeer.class = org.apache.turbine.services.security.torque.om.TurbineGroupPeer
29 * security.torque.groupPeer.column.name = GROUP_NAME
30 * security.torque.groupPeer.column.id = GROUP_ID
31 *
32 * security.torque.group.class = org.apache.turbine.services.security.torque.om.TurbineGroup
33 * security.torque.group.property.name = Name
34 * security.torque.group.property.id = GroupId
35 *
36 * </pre>
37 * If security.torque.group.class is unset, then the value of the constant CLASSNAME_DEFAULT
38 * from the configured Peer is used.
39 *
40 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
41 * @version $Id: GroupPeerManagerConstants.java 264148 2005-08-29 14:21:04Z henning $
42 */
43
44 public interface GroupPeerManagerConstants
45 {
46 /*** The key within the security service properties for the group class implementation */
47 String GROUP_CLASS_KEY =
48 "torque.group.class";
49
50 /*** The key within the security service properties for the group peer class implementation */
51 String GROUP_PEER_CLASS_KEY =
52 "torque.groupPeer.class";
53
54 /*** Group peer default class */
55 String GROUP_PEER_CLASS_DEFAULT =
56 TurbineGroupPeer.class.getName();
57
58 /*** The column name for the login name field. */
59 String GROUP_NAME_COLUMN_KEY =
60 "torque.groupPeer.column.name";
61
62 /*** The column name for the id field. */
63 String GROUP_ID_COLUMN_KEY =
64 "torque.groupPeer.column.id";
65
66
67 /*** The default value for the column name constant for the login name field. */
68 String GROUP_NAME_COLUMN_DEFAULT =
69 "GROUP_NAME";
70
71 /*** The default value for the column name constant for the id field. */
72 String GROUP_ID_COLUMN_DEFAULT =
73 "GROUP_ID";
74
75
76 /*** The property name of the bean property for the login name field. */
77 String GROUP_NAME_PROPERTY_KEY =
78 "torque.group.property.name";
79
80 /*** The property name of the bean property for the id field. */
81 String GROUP_ID_PROPERTY_KEY =
82 "torque.group.property.id";
83
84
85 /*** The default value of the bean property for the login name field. */
86 String GROUP_NAME_PROPERTY_DEFAULT =
87 "Name";
88
89 /*** The default value of the bean property for the id field. */
90 String GROUP_ID_PROPERTY_DEFAULT =
91 "GroupId";
92 }