1 7 8 package org.jboss.security; 9 10 import java.util.Map ; 11 12 19 public final class SecurityRolesAssociation 20 { 21 22 private static ThreadLocal threadSecurityRoleMapping = new ThreadLocal (); 23 24 28 public static Map getSecurityRoles() 29 { 30 return (Map ) threadSecurityRoleMapping.get(); 31 } 32 33 36 public static void setSecurityRoles(Map securityRoles) 37 { 38 threadSecurityRoleMapping.set(securityRoles); 39 } 40 41 } 42 | Popular Tags |