~ubuntu-branches/ubuntu/lucid/libstruts1.2-java/lucid

« back to all changes in this revision

Viewing changes to contrib/struts-faces/src/systest/org/apache/struts/faces/systest/SimpleBean.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-24 12:14:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060424121423-naev53qigqgks0sa
Tags: 1.2.9-1
New upstream  release Fixes  three security  problems: CVE-2006-1546,
CVE-2006-1547,  CVE-2006-1548  (closes:  #360551),  thanks  to  Moritz
Muehlenhoff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright 2002,2004 The Apache Software Foundation.
3
 
 * 
4
 
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 
 * you may not use this file except in compliance with the License.
6
 
 * You may obtain a copy of the License at
7
 
 * 
8
 
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 
 * 
10
 
 * Unless required by applicable law or agreed to in writing, software
11
 
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 
 * See the License for the specific language governing permissions and
14
 
 * limitations under the License.
15
 
 */
16
 
 
17
 
package org.apache.struts.faces.systest;
18
 
 
19
 
 
20
 
/**
21
 
 * <p>Simple JavaBean for use in managed bean and value binding tests.</p>
22
 
 */
23
 
 
24
 
public class SimpleBean {
25
 
 
26
 
 
27
 
    public String getEternity() {
28
 
        return "Eternity";
29
 
    }
30
 
 
31
 
    public String getSimpleResource() {
32
 
        return "resource.simple";
33
 
    }
34
 
 
35
 
    public String getSimpleContent() {
36
 
        return "Retrieved Simple Content";
37
 
    }
38
 
 
39
 
 
40
 
    public String getFilteredContent() {
41
 
        return "Retrieved <b>Filtered</b> Content";
42
 
    }
43
 
 
44
 
 
45
 
    public String getUnfilteredContent() {
46
 
        return "Retrieved <b>Unfiltered</b> Content";
47
 
    }
48
 
 
49
 
 
50
 
}