public interface Authorizer
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,String> globalProperties)
This is used to initialize the authenticator
|
boolean |
isAuthorized(AuthenticationInfo authenticationInfo,
javax.websocket.Session session,
String stream)
Check whether the client is authorized to connect with the stream.
|
void init(Map<String,String> globalProperties)
globalProperties - related to the output adapterboolean isAuthorized(AuthenticationInfo authenticationInfo, javax.websocket.Session session, String stream)
authenticationInfo - authenticated client information.session - request session of the client.stream - stream name of the client connecting to.Copyright © 2017 WSO2. All rights reserved.