Annotation Interface RoomAuth


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface RoomAuth
Annotation for AtmosphereHandler classes to declare authorization requirements for room operations.

 @RoomAuth(authorizer = MyAuthorizer.class)
 public class ChatHandler extends OnMessage<String> {
     // ...
 }
 
Since:
4.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The authorizer class to use for room operations.
  • Element Details

    • authorizer

      Class<? extends RoomAuthorizer> authorizer
      The authorizer class to use for room operations.