|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authorizer
Subscriptions to Private
and presence
channels
need to be authorized. This interface provides an authorize(java.lang.String, java.lang.String)
as a mechanism for doing this.
See the HttpAuthorizer
as an example.
Method Summary | |
---|---|
String |
authorize(String channelName,
String socketId)
Called when a channel is to be authenticated. |
Method Detail |
---|
String authorize(String channelName, String socketId) throws AuthorizationFailureException
channelName
- The name of the channel to be authenticated.socketId
- A unique socket connection ID to be used with the authentication.
This uniquely identifies the connection that the subscription is being authenticated for.
AuthorizationFailureException
- if the authentication fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |