public class FacesConfigProtectedViews extends Object
Any view that matches any of the url-patterns in this element may only be reached from another JSF view in the same web application. Because the runtime is aware of which views are protected, any navigation from an unprotected view to a protected view is automatically subject to protection.
Java class for faces-config-protected-viewsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-protected-viewsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="url-pattern" type="{http://xmlns.jcp.org/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<UrlPattern> |
urlPattern |
| Constructor and Description |
|---|
FacesConfigProtectedViews() |
protected List<UrlPattern> urlPattern
public List<UrlPattern> getUrlPattern()
set method for the urlPattern property.
For example, to add a new item, do as follows:
getUrlPattern().add(newItem);
Objects of the following type(s) are allowed in the list
UrlPatternCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.