org.apache.cometd.bayeux
Interface SecurityPolicy


public interface SecurityPolicy

Author:
Greg Wilkins

Method Summary
 boolean canCreate(Client client, java.lang.String channel, Message message)
           
 boolean canHandshake(Message message)
           
 boolean canPublish(Client client, java.lang.String channel, Message messsage)
           
 boolean canSubscribe(Client client, java.lang.String channel, Message messsage)
           
 

Method Detail

canHandshake

boolean canHandshake(Message message)

canCreate

boolean canCreate(Client client,
                  java.lang.String channel,
                  Message message)

canSubscribe

boolean canSubscribe(Client client,
                     java.lang.String channel,
                     Message messsage)

canPublish

boolean canPublish(Client client,
                   java.lang.String channel,
                   Message messsage)


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.