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


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

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

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

Required Element Summary
 String profile
          user profile group
 String userName
          user name for the given user (for login purposes)
 
Optional Element Summary
 String attributes
          List of user attributes.
 String email
          Default email for this user.
 String fullName
          Full name for the given user.
 String groups
          List of groups that this user is associated to
 String nick
          nick name for the given user.
 String password
          Default password for the given user.
 

Element Detail

profile

public abstract String profile
user profile group


userName

public abstract String userName
user name for the given user (for login purposes)

attributes

public abstract String attributes
List of user attributes. Key value pairs. Ex. "attr1=value1,attr2=value2..."

Default:
""

email

public abstract String email
Default email for this user. Defaults to "${userName}@domain.com".

Default:
""

fullName

public abstract String fullName
Full name for the given user. Defaults to the userName

Default:
""

groups

public abstract String groups
List of groups that this user is associated to

Default:
""

nick

public abstract String nick
nick name for the given user. Defaults to the fullName

Default:
""

password

public abstract String password
Default password for the given user. Defaults to the userName

Default:
""


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