@Users

Target: Class annotated with @ApplicationDefinition.

Description: Allows several inner @User annotations to be declared to a single Application

JavaDoc: Click here

Attributes: n/a

Example:

@ApplicationDefinition(name = "Some Application", provider = "mockupProvider")
@Users({
    @User(userName="user1", password="password1", profile="sampleUsers", groups="group1,group2", attributes="id=1,someAttr=yav"),
    @User(userName="user2", password="password2", profile="sampleUsers", groups="group2", attributes="id=2,someAttr=sv, )})
public class SomeApplication {
 ...
}

See also:

Back to annotation reference