public class SecurityConstraintModel extends Object
<security-constraint> element of web.xml. See equivalent
org.apache.tomcat.util.descriptor.web.SecurityConstraint and
org.apache.tomcat.util.descriptor.web.SecurityCollection classes from Tomcat.| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityConstraintModel.WebResourceCollection
A collection of constrained collection of URIs -
<web-resource-collection> elements from web.xml |
| Constructor and Description |
|---|
SecurityConstraintModel() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAuthRoles() |
String |
getName() |
ServletModel |
getServletModel() |
javax.servlet.annotation.ServletSecurity.TransportGuarantee |
getTransportGuarantee() |
List<SecurityConstraintModel.WebResourceCollection> |
getWebResourceCollections() |
boolean |
isAuthRolesSet() |
void |
setAuthRolesSet(boolean authRolesSet) |
void |
setName(String name) |
void |
setServletModel(ServletModel servletModel) |
void |
setTransportGuarantee(javax.servlet.annotation.ServletSecurity.TransportGuarantee transportGuarantee) |
public String getName()
public void setName(String name)
public List<SecurityConstraintModel.WebResourceCollection> getWebResourceCollections()
public boolean isAuthRolesSet()
public void setAuthRolesSet(boolean authRolesSet)
public javax.servlet.annotation.ServletSecurity.TransportGuarantee getTransportGuarantee()
public void setTransportGuarantee(javax.servlet.annotation.ServletSecurity.TransportGuarantee transportGuarantee)
public void setServletModel(ServletModel servletModel)
public ServletModel getServletModel()
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.