当前页面:
在线文档首页 >
JBoss Seam 1.1.1 API 英文版文档
SecurityConstraint (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档
org.jboss.seam.security.config
Class SecurityConstraint
java.lang.Object
org.jboss.seam.security.config.SecurityConstraint
public class SecurityConstraint
- extends Object
Represents the <security-constraint> element from the security
configuration file.
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityConstraint
public SecurityConstraint()
getResourceCollections
public Set<WebResourceCollection> getResourceCollections()
setResourceCollections
public void setResourceCollections(Set<WebResourceCollection> resourceCollections)
getAuthConstraint
public AuthConstraint getAuthConstraint()
setAuthConstraint
public void setAuthConstraint(AuthConstraint authConstraint)
included
public boolean included(String uri,
String method)
- Check if the specified URI and method are included in this security constraint.
- Parameters:
uri
- String The URI to checkmethod
- String The method to check
- Returns:
- boolean True if the URI and method match one of the patterns contained
within this security constraint, false otherwise.