org.azzyzt.jee.runtime.annotation
Annotation Type CreateUser


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface CreateUser

This annotation can be added to entity fields of the type java.lang.String. Create user fields are automatically set by the runtime. The exact method how a username is determined, is delegated to a so-called site adapter bean. Azzyzt JEE Tools currently come with a site adapter that can extract user names from HTTP headers. At the moment this works with REST only.

See Also:
CreateTimestamp, ModificationTimestamp, ModificationUser