Package io.milton.annotations
Annotation Type Users
-
@Target(METHOD) @Retention(RUNTIME) public @interface Users
Marks a method as one which returns user objects. A "user" object is any pojo which can be considered a user. To be usable as a user it must at least be able to be authenticated by having a password field, or explicit methods for validating a password or Digest hash@Users methods MUST take a root folder collection object as their parent. For example /users/brad
Optionally, user objects may be supported by methods to return an access control list which can be used for authorization. Otherwise a default ACL scheme is used