-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #10 feat: Capturing configuration for SMS providers
- Loading branch information
1 parent
582d9a6
commit 502264b
Showing
11 changed files
with
287 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"token": "AKIAI4XIRSGGFIW5VOKQ", | ||
"secret": "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" | ||
"auth_key": "181585AvzynW0NSmU59f84bd6", | ||
"sender": "TestSunbird", | ||
"country": "91", | ||
"route": "4", | ||
"sms_method_type": "GET", | ||
"sms_url": "http://api.msg91.com/api/sendhttp.php?" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.sunbird</groupId> | ||
<artifactId>keycloak-email-phone-autthenticator</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.0.0</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<artifactSet> | ||
<excludes> | ||
<exclude>classworlds:classworlds</exclude> | ||
<exclude>junit:junit</exclude> | ||
<exclude>jmock:*</exclude> | ||
<exclude>*:xml-apis</exclude> | ||
<exclude>org.apache.maven:lib:tests</exclude> | ||
</excludes> | ||
</artifactSet> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-core</artifactId> | ||
<version>3.2.0.Final</version> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>keycloak-common</artifactId> | ||
<groupId>org.keycloak</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>bcprov-jdk15on</artifactId> | ||
<groupId>org.bouncycastle</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>bcpkix-jdk15on</artifactId> | ||
<groupId>org.bouncycastle</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-server-spi</artifactId> | ||
<version>3.2.0.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-server-spi-private</artifactId> | ||
<version>3.2.0.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jboss.logging</groupId> | ||
<artifactId>jboss-logging</artifactId> | ||
<version>3.3.1.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.keycloak</groupId> | ||
<artifactId>keycloak-services</artifactId> | ||
<version>3.2.0.Final</version> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>javax.mail-api</artifactId> | ||
<groupId>javax.mail</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>jboss-servlet-api_3.0_spec</artifactId> | ||
<groupId>org.jboss.spec.javax.servlet</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>twitter4j-core</artifactId> | ||
<groupId>org.twitter4j</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>resteasy-jaxrs</artifactId> | ||
<groupId>org.jboss.resteasy</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>jboss-jaxrs-api_2.0_spec</artifactId> | ||
<groupId>org.jboss.spec.javax.ws.rs</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>jboss-transaction-api_1.2_spec</artifactId> | ||
<groupId>org.jboss.spec.javax.transaction</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>resteasy-multipart-provider</artifactId> | ||
<groupId>org.jboss.resteasy</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>javase</artifactId> | ||
<groupId>com.google.zxing</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>bcprov-jdk15on</artifactId> | ||
<groupId>org.bouncycastle</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>bcpkix-jdk15on</artifactId> | ||
<groupId>org.bouncycastle</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpclient</artifactId> | ||
<version>4.5</version> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>httpcore</artifactId> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
</exclusion> | ||
<exclusion> | ||
<artifactId>commons-codec</artifactId> | ||
<groupId>commons-codec</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
<scope>test</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>hamcrest-core</artifactId> | ||
<groupId>org.hamcrest</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
keycloak/sms-provider/src/main/java/org/sunbird/sms/MessageProviderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
keycloak/sms-provider/src/main/java/org/sunbird/sms/amazonsns/AmazonSnsFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.