added access & refresh token generation

merge-requests/1/head
ayyoob 10 years ago
parent e2eafa1320
commit 4eef5c0a3e

@ -44,6 +44,7 @@
#define DEVICE_OWNER "${DEVICE_OWNER}" #define DEVICE_OWNER "${DEVICE_OWNER}"
#define DEVICE_ID "${DEVICE_ID}" #define DEVICE_ID "${DEVICE_ID}"
#define DEVICE_TOKEN "${DEVICE_TOKEN}" #define DEVICE_TOKEN "${DEVICE_TOKEN}"
#define DEVICE_TOKEN "${DEVICE_REFRESH_TOKEN}"
#define SERVICE_PORT 9763 #define SERVICE_PORT 9763
#define SERVICE_EPOINT "/firealarm/controller/" #define SERVICE_EPOINT "/firealarm/controller/"

@ -250,10 +250,10 @@
<groupId>org.apache.ant.wso2</groupId> <groupId>org.apache.ant.wso2</groupId>
<artifactId>ant</artifactId> <artifactId>ant</artifactId>
</exclusion> </exclusion>
<exclusion> <!--<exclusion>-->
<groupId>commons-httpclient.wso2</groupId> <!--<groupId>commons-httpclient.wso2</groupId>-->
<artifactId>commons-httpclient</artifactId> <!--<artifactId>commons-httpclient</artifactId>-->
</exclusion> <!--</exclusion>-->
<exclusion> <exclusion>
<groupId>org.eclipse.equinox</groupId> <groupId>org.eclipse.equinox</groupId>
<artifactId>javax.servlet</artifactId> <artifactId>javax.servlet</artifactId>
@ -362,6 +362,8 @@
<version>${carbon.iot.device.mgt.version}</version> <version>${carbon.iot.device.mgt.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.wso2.carbon.iot</groupId> <groupId>org.wso2.carbon.iot</groupId>
<artifactId>org.wso2.carbon.device.mgt.iot.firealarm.impl</artifactId> <artifactId>org.wso2.carbon.device.mgt.iot.firealarm.impl</artifactId>
@ -504,10 +506,10 @@
<groupId>org.wso2.carbon</groupId> <groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.rest.api.stub</artifactId> <artifactId>org.wso2.carbon.rest.api.stub</artifactId>
</exclusion> </exclusion>
<exclusion> <!--<exclusion>-->
<groupId>org.json.wso2</groupId> <!--<groupId>org.json.wso2</groupId>-->
<artifactId>json</artifactId> <!--<artifactId>json</artifactId>-->
</exclusion> <!--</exclusion>-->
<exclusion> <exclusion>
<groupId>com.h2database.wso2</groupId> <groupId>com.h2database.wso2</groupId>
<artifactId>h2-database-engine</artifactId> <artifactId>h2-database-engine</artifactId>
@ -739,11 +741,20 @@
</dependency> </dependency>
<!-- End of Tomcat dependencies --> <!-- End of Tomcat dependencies -->
<!--<dependency>-->
<!--<groupId>com.google.code.gson</groupId>-->
<!--<artifactId>gson</artifactId>-->
<!--&lt;!&ndash;<version>${google.code.gson.version}</version>&ndash;&gt;-->
<!--</dependency>-->
<dependency> <dependency>
<groupId>commons-httpclient.wso2</groupId> <groupId>org.json.wso2</groupId>
<artifactId>commons-httpclient</artifactId> <artifactId>json</artifactId>
<version>${orbit.version.commons-httpclient}</version> <version>${commons-json.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
@ -819,6 +830,8 @@
<carbon.iot.device.mgt.version>1.0.0-SNAPSHOT</carbon.iot.device.mgt.version> <carbon.iot.device.mgt.version>1.0.0-SNAPSHOT</carbon.iot.device.mgt.version>
<mdm.version>1.0.0-SNAPSHOT</mdm.version> <mdm.version>1.0.0-SNAPSHOT</mdm.version>
<commons-json.version>3.0.0.wso2v1</commons-json.version>
<!-- API Management --> <!-- API Management -->
<carbon.api.mgt.version>1.4.0</carbon.api.mgt.version> <carbon.api.mgt.version>1.4.0</carbon.api.mgt.version>
@ -833,7 +846,8 @@
<codehaus.plexus.version>3.0.21</codehaus.plexus.version> <codehaus.plexus.version>3.0.21</codehaus.plexus.version>
<axis2-transports.wso2.version>1.1.0-wso2v13</axis2-transports.wso2.version> <axis2-transports.wso2.version>1.1.0-wso2v13</axis2-transports.wso2.version>
<orbit.version.commons-httpclient>3.1.0.wso2v2</orbit.version.commons-httpclient>
<wss4j.security.version>1.6.17</wss4j.security.version> <wss4j.security.version>1.6.17</wss4j.security.version>
<wss4j.security.common.version>2.0.0</wss4j.security.common.version> <wss4j.security.common.version>2.0.0</wss4j.security.common.version>
<axiom-api.version>1.2.14</axiom-api.version> <axiom-api.version>1.2.14</axiom-api.version>

Loading…
Cancel
Save