Package org.atmosphere.room.auth
Annotation 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 ElementsModifier and TypeRequired ElementDescriptionClass<? extends RoomAuthorizer> The authorizer class to use for room operations.
-
Element Details
-
authorizer
Class<? extends RoomAuthorizer> authorizerThe authorizer class to use for room operations.
-