mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
merged with origin
This commit is contained in:
parent
fcfd39f54d
commit
8ddac1d037
@ -171,17 +171,7 @@ This file is ciphertool compliant. Refer PRODUCT_HOME/repository/conf/security/c
|
|||||||
inherit from org.dna.mqtt.moquette.server.IAutherizer
|
inherit from org.dna.mqtt.moquette.server.IAutherizer
|
||||||
Note: default implementation authorizes against carbon permission with the topic.
|
Note: default implementation authorizes against carbon permission with the topic.
|
||||||
-->
|
-->
|
||||||
<!--connectionPermission is required for a user to connect to broker
|
|
||||||
subscriberPermission is needed to subscribe(subriber permission can be more than one)
|
|
||||||
publisherPermission is needed to publish(publisher permission can be more than one)
|
|
||||||
-->
|
|
||||||
<authorizer class="org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.DeviceAccessBasedMQTTAuthorizer">
|
<authorizer class="org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.DeviceAccessBasedMQTTAuthorizer">
|
||||||
<!--<property name="connectionPermission">/permission/admin/device-mgt/user</property>-->
|
|
||||||
<!--topic subscription permissions which are assigned through grouping-->
|
|
||||||
<property name="subscriberPermission">/permission/device-mgt/user/groups/device_events</property>
|
|
||||||
<!--topic publisher permissions which are assigned through grouping-->
|
|
||||||
<property name="publisherPermission">/permission/device-mgt/user/groups/device_operation</property>
|
|
||||||
|
|
||||||
<property name="username">admin</property>
|
<property name="username">admin</property>
|
||||||
<property name="password">admin</property>
|
<property name="password">admin</property>
|
||||||
<property name="tokenEndpoint">https://localhost:8243</property>
|
<property name="tokenEndpoint">https://localhost:8243</property>
|
||||||
|
|||||||
@ -28,15 +28,6 @@
|
|||||||
<Authenticator name="SignedJWTAuthenticator" disabled="false">
|
<Authenticator name="SignedJWTAuthenticator" disabled="false">
|
||||||
<Priority>5</Priority>
|
<Priority>5</Priority>
|
||||||
</Authenticator>
|
</Authenticator>
|
||||||
<Authenticator name="OAuthAuthenticator" disabled="true">
|
|
||||||
<Priority>10</Priority>
|
|
||||||
<Config>
|
|
||||||
<Parameter name="isRemote">false</Parameter>
|
|
||||||
<Parameter name="hostURL">https://localhost:9443</Parameter>
|
|
||||||
<Parameter name="adminUsername">admin</Parameter>
|
|
||||||
<Parameter name="adminPassword">admin</Parameter>
|
|
||||||
</Config>
|
|
||||||
</Authenticator>
|
|
||||||
|
|
||||||
<!-- authenticator Configurations for TokenUIAuthenticator -->
|
<!-- authenticator Configurations for TokenUIAuthenticator -->
|
||||||
<Authenticator name="TokenUIAuthenticator" disabled="false">
|
<Authenticator name="TokenUIAuthenticator" disabled="false">
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -334,8 +334,7 @@
|
|||||||
<version>${analytics.shared.version}</version>
|
<version>${analytics.shared.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
<feature>
|
<feature>
|
||||||
<id>org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.feature.group
|
<id>org.wso2.carbon.andes.extensions.device.mgt.mqtt.authorization.feature.group</id>
|
||||||
</id>
|
|
||||||
<version>${carbon.device.mgt.plugin.version}</version>
|
<version>${carbon.device.mgt.plugin.version}</version>
|
||||||
</feature>
|
</feature>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user