站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.jboss.metadata.WebSecurityMetaData

public class WebSecurityMetaData
extends Object

Encapsulation of the web.xml security-constraints

Version:
$Revison:$
Author:
Scott.Stark@jboss.org

Nested Class Summary
static class WebSecurityMetaData.WebResourceCollection
          The security-constraint/web-resource-collection child element container
 
Constructor Summary
WebSecurityMetaData()
           
 
Method Summary
 void addRole(String name)
           
 WebSecurityMetaData.WebResourceCollection addWebResource(String name)
           
static String[] getMissingHttpMethods(HashSet httpMethods)
           
 Set getRoles()
          Get the security-constraint/auth-constraint values.
 String getTransportGuarantee()
          Get the security-constraint/transport-guarantee setting
 HashMap getWebResources()
           
 boolean isExcluded()
           
 boolean isUnchecked()
           
 void setExcluded(boolean flag)
           
 void setTransportGuarantee(String transportGuarantee)
           
 void setUnchecked(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSecurityMetaData

public WebSecurityMetaData()
Method Detail

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.