01: /*********************************************************************************
02: * The contents of this file are subject to the OpenI Public License Version 1.0
03: * ("License"); You may not use this file except in compliance with the
04: * License. You may obtain a copy of the License at
05: * http://www.openi.org/docs/LICENSE.txt
06: *
07: * Software distributed under the License is distributed on an "AS IS" basis,
08: * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
09: * the specific language governing rights and limitations under the License.
10: *
11: * The Original Code is: OpenI Open Source
12: *
13: * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
14: * Portions created by Loyalty Matrix, Inc. are
15: * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
16: *
17: * Contributor(s): i18n : Pedro Casals Fradera (2006/05/12)
18: *
19: ********************************************************************************/package org.openi.security;
20:
21: /**
22: * @author Dipendra Pokhrel <br>
23: * @version $Revision$ $Date$ <br>
24: *
25: * SecurityDefinition class to encapsulate securtity info for a request
26: *
27: */
28: public class SecurityDefinition {
29:
30: private String resourcePath;
31: private String resourceParameters;
32: private String allowedRoles;
33:
34: public String getAllowedRoles() {
35: return allowedRoles;
36: }
37:
38: public void setAllowedRoles(String allowedRoles) {
39: this .allowedRoles = allowedRoles;
40: }
41:
42: public String getResourceParameters() {
43: return resourceParameters;
44: }
45:
46: public void setResourceParameters(String resourceParameters) {
47: this .resourceParameters = resourceParameters;
48: }
49:
50: public String getResourcePath() {
51: return resourcePath;
52: }
53:
54: public void setResourcePath(String resourcePath) {
55: this.resourcePath = resourcePath;
56: }
57: }
|