FileDocCategorySizeDatePackage
SecurityMethodConfig.javaAPI DocJBoss 4.2.12411Fri Jul 13 21:02:28 BST 2007org.jboss.aspects.security

SecurityMethodConfig

public class SecurityMethodConfig extends org.jboss.aop.metadata.MethodConfig

Fields Summary
private boolean
unchecked
The unchecked element specifies that a method is not checked for authorization by the container prior to invocation of the method. Used in: method-permission
private boolean
excluded
The exclude-list element defines a set of methods which the Assembler marks to be uncallable. It contains one or more methods. If the method permission relation contains methods that are in the exclude list, the Deployer should consider those methods to be uncallable.
private Set
permissions
Constructors Summary
public SecurityMethodConfig()


   // Static --------------------------------------------------------

   // Constructors --------------------------------------------------
    
   
   
Methods Summary
public java.util.SetgetRoles()

      return permissions;
   
public booleanisExcluded()

      return excluded;
   
public booleanisUnchecked()

      return unchecked;
   
public voidsetExcluded()

      excluded = true;
   
public voidsetRoles(java.util.Set perm)

      permissions = perm;
   
public voidsetUnchecked()

      unchecked = true;