当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
WebSecurityMetaData (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.metadata
Class WebSecurityMetaData
java.lang.Object
org.jboss.metadata.WebSecurityMetaData
- public class WebSecurityMetaData
- extends Object
Encapsulation of the web.xml security-constraints
- Version:
- $Revison:$
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSecurityMetaData
public WebSecurityMetaData()
getMissingHttpMethods
public static String[] getMissingHttpMethods(HashSet httpMethods)
addWebResource
public WebSecurityMetaData.WebResourceCollection addWebResource(String name)
getWebResources
public HashMap getWebResources()
addRole
public void addRole(String name)
getRoles
public Set getRoles()
- Get the security-constraint/auth-constraint values. An empty role
set must be qualified by the isUnchecked and isExcluded methods.
- Returns:
- Set for the role names
getTransportGuarantee
public String getTransportGuarantee()
- Get the security-constraint/transport-guarantee setting
- Returns:
- null == no guarantees
INTEGRAL == an integretity guarantee
CONFIDENTIAL == protected for confidentiality
setTransportGuarantee
public void setTransportGuarantee(String transportGuarantee)
isUnchecked
public boolean isUnchecked()
setUnchecked
public void setUnchecked(boolean flag)
isExcluded
public boolean isExcluded()
setExcluded
public void setExcluded(boolean flag)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.