01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.container.om.servlet;
07:
08: import java.io.Serializable;
09:
10: import org.apache.pluto.om.common.DisplayNameSet;
11:
12: /**
13: * Data structure to support WebApplicationDefinition for
14: * marshalling and unmarshalling of web.xml.
15: * Not needed by the Pluto container.
16: * @author Ken Weiner, kweiner@unicon.net
17: * @version $Revision: 34757 $
18: */
19: public class SecurityConstraintImpl implements Serializable {
20:
21: private DisplayNameSet displayNames;
22: private WebResourceCollectionImpl[] webResourceCollections;
23: private AuthConstraintImpl authConstraint;
24: private UserDataConstraintImpl userDataConstraint;
25:
26: public AuthConstraintImpl getAuthConstraint() {
27: return authConstraint;
28: }
29:
30: public DisplayNameSet getDisplayNames() {
31: return displayNames;
32: }
33:
34: public UserDataConstraintImpl getUserDataConstraint() {
35: return userDataConstraint;
36: }
37:
38: public WebResourceCollectionImpl[] getWebResourceCollections() {
39: return webResourceCollections;
40: }
41:
42: public void setAuthConstraint(AuthConstraintImpl authConstraint) {
43: this .authConstraint = authConstraint;
44: }
45:
46: public void setDisplayNames(DisplayNameSet displayNames) {
47: this .displayNames = displayNames;
48: }
49:
50: public void setUserDataConstraint(
51: UserDataConstraintImpl userDataConstraint) {
52: this .userDataConstraint = userDataConstraint;
53: }
54:
55: public void setWebResourceCollections(
56: WebResourceCollectionImpl[] webResourceCollections) {
57: this.webResourceCollections = webResourceCollections;
58: }
59:
60: }
|