站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

SecurityRolesAssociation (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.security
Class SecurityRolesAssociation

java.lang.Object
  extended byorg.jboss.security.SecurityRolesAssociation

public final class SecurityRolesAssociation
extends Object

The SecurityRolesAssociation uses a ThreadLocal to accociatw the SecurityRoleMetaData from the deployment with the current thread.

Version:
$Revision: 1.1 $
Author:
Thomas.Diesler@jboss.org

Constructor Summary
SecurityRolesAssociation()
           
 
Method Summary
static Map getSecurityRoles()
          Get the current map of SecurityRoleMetaData.
static void setSecurityRoles(Map securityRoles)
          Get the current map of SecurityRoleMetaData.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRolesAssociation

public SecurityRolesAssociation()
Method Detail

getSecurityRoles

public static Map getSecurityRoles()
Get the current map of SecurityRoleMetaData.

Returns:
A Map that stores SecurityRoleMetaData by roleName

setSecurityRoles

public static void setSecurityRoles(Map securityRoles)
Get the current map of SecurityRoleMetaData.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.