org.mortbay.cometd
Class AbstractBayeux.DefaultPolicy
java.lang.Object
org.mortbay.cometd.AbstractBayeux.DefaultPolicy
- All Implemented Interfaces:
- dojox.cometd.SecurityPolicy
- Enclosing class:
- AbstractBayeux
public static class AbstractBayeux.DefaultPolicy
- extends Object
- implements dojox.cometd.SecurityPolicy
Method Summary |
boolean |
canCreate(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
|
boolean |
canHandshake(dojox.cometd.Message message)
|
boolean |
canPublish(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
|
boolean |
canSubscribe(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBayeux.DefaultPolicy
public AbstractBayeux.DefaultPolicy()
canHandshake
public boolean canHandshake(dojox.cometd.Message message)
- Specified by:
canHandshake
in interface dojox.cometd.SecurityPolicy
canCreate
public boolean canCreate(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
- Specified by:
canCreate
in interface dojox.cometd.SecurityPolicy
canSubscribe
public boolean canSubscribe(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
- Specified by:
canSubscribe
in interface dojox.cometd.SecurityPolicy
canPublish
public boolean canPublish(dojox.cometd.Client client,
String channel,
dojox.cometd.Message message)
- Specified by:
canPublish
in interface dojox.cometd.SecurityPolicy
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.