Skip to content

Commit

Permalink
Make user channels non-persistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartel committed Oct 5, 2012
1 parent 6a72369 commit c0b30e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fi/helsinki/cs/tmc/comet/CometService.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.cometd.server.authorizer.GrantAuthorizer;

/**
* Configures frontent channels.
* Configures frontend channels.
*/
@Service
public class CometService {
Expand All @@ -23,7 +23,7 @@ public void confGlobalChannels(ConfigurableServerChannel channel) {

@Configure("/broadcast/tmc/user/**")
public void confUserChannels(ConfigurableServerChannel channel) {
channel.setPersistent(true);
channel.setPersistent(false);
channel.addAuthorizer(new RequireUserOwnsChannel());
channel.addAuthorizer(new DenyPublishIfNotBackend());
channel.addAuthorizer(GrantAuthorizer.GRANT_ALL);
Expand Down

0 comments on commit c0b30e1

Please sign in to comment.