pt.digitalis.dif.dem.annotations.security
Annotation Type AccessControl


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface AccessControl

This annotation defines a default ACL for the containing DEM entity. The annotation can be used on the following elements: @StageDefinition.

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
Dec 6, 2007

Optional Element Summary
 String groups
          List of groups that the current resource will be associated to in the ACLs
 boolean none
          If T the resource will be marked inaccessible to any user.
 String users
          List of users that the current resource will be associated to in the ACLs
 

users

public abstract String users
List of users that the current resource will be associated to in the ACLs

Default:
""

groups

public abstract String groups
List of groups that the current resource will be associated to in the ACLs

Default:
""

none

public abstract boolean none
If T the resource will be marked inaccessible to any user. This means that this resource can be granted but has no grants by default. If F then it is a public resource.

Default:
false


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.