%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.turbine.services.security.torque.RolePeerManagerConstants$1 |
|
|
1 | package org.apache.turbine.services.security.torque; |
|
2 | ||
3 | /* |
|
4 | * Copyright 2001-2005 The Apache Software Foundation. |
|
5 | * |
|
6 | * Licensed under the Apache License, Version 2.0 (the "License") |
|
7 | * you may not use this file except in compliance with the License. |
|
8 | * You may obtain a copy of the License at |
|
9 | * |
|
10 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
11 | * |
|
12 | * Unless required by applicable law or agreed to in writing, software |
|
13 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
15 | * See the License for the specific language governing permissions and |
|
16 | * limitations under the License. |
|
17 | */ |
|
18 | ||
19 | import org.apache.turbine.services.security.torque.om.TurbineRolePeer; |
|
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.rolePeer.class = org.apache.turbine.services.security.torque.om.TurbineRolePeer |
|
29 | * security.torque.rolePeer.column.name = ROLE_NAME |
|
30 | * security.torque.rolePeer.column.id = ROLE_ID |
|
31 | * |
|
32 | * security.torque.role.class = org.apache.turbine.services.security.torque.om.TurbineRole |
|
33 | * security.torque.role.property.name = Name |
|
34 | * security.torque.role.property.id = RoleId |
|
35 | * |
|
36 | * </pre> |
|
37 | * If security.torque.role.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: RolePeerManagerConstants.java 264152 2005-08-29 14:50:22Z henning $ |
|
42 | */ |
|
43 | ||
44 | 8 | public interface RolePeerManagerConstants |
45 | { |
|
46 | /** The key within the security service properties for the role class implementation */ |
|
47 | String ROLE_CLASS_KEY = |
|
48 | "torque.role.class"; |
|
49 | ||
50 | /** The key within the security service properties for the role peer class implementation */ |
|
51 | String ROLE_PEER_CLASS_KEY = |
|
52 | "torque.rolePeer.class"; |
|
53 | ||
54 | /** Role peer default class */ |
|
55 | String ROLE_PEER_CLASS_DEFAULT = |
|
56 | 8 | TurbineRolePeer.class.getName(); |
57 | ||
58 | /** The column name for the login name field. */ |
|
59 | String ROLE_NAME_COLUMN_KEY = |
|
60 | "torque.rolePeer.column.name"; |
|
61 | ||
62 | /** The column name for the id field. */ |
|
63 | String ROLE_ID_COLUMN_KEY = |
|
64 | "torque.rolePeer.column.id"; |
|
65 | ||
66 | ||
67 | /** The default value for the column name constant for the login name field. */ |
|
68 | String ROLE_NAME_COLUMN_DEFAULT = |
|
69 | "ROLE_NAME"; |
|
70 | ||
71 | /** The default value for the column name constant for the id field. */ |
|
72 | String ROLE_ID_COLUMN_DEFAULT = |
|
73 | "ROLE_ID"; |
|
74 | ||
75 | ||
76 | /** The property name of the bean property for the login name field. */ |
|
77 | String ROLE_NAME_PROPERTY_KEY = |
|
78 | "torque.role.property.name"; |
|
79 | ||
80 | /** The property name of the bean property for the id field. */ |
|
81 | String ROLE_ID_PROPERTY_KEY = |
|
82 | "torque.role.property.id"; |
|
83 | ||
84 | ||
85 | /** The default value of the bean property for the login name field. */ |
|
86 | String ROLE_NAME_PROPERTY_DEFAULT = |
|
87 | "Name"; |
|
88 | ||
89 | /** The default value of the bean property for the id field. */ |
|
90 | String ROLE_ID_PROPERTY_DEFAULT = |
|
91 | "RoleId"; |
|
92 | ||
93 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |