Skip to content

Commit 0c32829

Browse files
committed
Released Version 11.1.0
1 parent 7443cfb commit 0c32829

File tree

2 files changed

+147
-134
lines changed

2 files changed

+147
-134
lines changed

LoginRadius-JavaSDK/pom.xml

Lines changed: 139 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,145 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<modelVersion>4.0.0</modelVersion>
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.loginradius.sdk</groupId>
8+
<artifactId>java-sdk</artifactId>
9+
<version>11.1.0</version>
10+
<name>LoginRadius-CustomerIdentity-JavaSDK</name>
11+
<description>LoginRadius Java SDK</description>
12+
<url>https://github.com/LoginRadius/java-sdk</url>
13+
14+
<licenses>
15+
<license>
16+
<name>MIT License</name>
17+
<url>http://www.opensource.org/licenses/mit-license.php</url>
18+
</license>
19+
</licenses>
20+
21+
<developers>
22+
<developer>
23+
<id>support</id>
24+
<name>LoginRadius Support</name>
25+
<email>support@loginradius.com</email>
26+
<organization>LoginRadius</organization>
27+
<organizationUrl>https://www.loginradius.com</organizationUrl>
28+
</developer>
29+
</developers>
30+
31+
<scm>
32+
<connection>scm:git:git@github.com:LoginRadius/java-sdk.git.git</connection>
33+
<developerConnection>scm:git:git@github.com:LoginRadius/java-sdk.git.git</developerConnection>
34+
<url>git@github.com:LoginRadius/java-sdk.git.git</url>
35+
</scm>
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>com.google.code.gson</groupId>
40+
<artifactId>gson</artifactId>
41+
<version>2.2.4</version>
42+
</dependency>
43+
44+
45+
<dependency>
46+
<groupId>javax.servlet</groupId>
47+
<artifactId>servlet-api</artifactId>
48+
<version>2.5</version>
49+
</dependency>
50+
51+
<dependency>
52+
<groupId>commons-codec</groupId>
53+
<artifactId>commons-codec</artifactId>
54+
<version>1.9</version>
55+
</dependency>
56+
</dependencies>
57+
58+
<distributionManagement>
59+
<snapshotRepository>
60+
<id>ossrh</id>
61+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
62+
</snapshotRepository>
63+
</distributionManagement>
64+
65+
<build>
66+
<plugins>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-gpg-plugin</artifactId>
70+
<version>1.5</version>
71+
<executions>
72+
<execution>
73+
<id>sign-artifacts</id>
74+
<phase>verify</phase>
75+
<goals>
76+
<goal>sign</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.sonatype.plugins</groupId>
83+
<artifactId>nexus-staging-maven-plugin</artifactId>
84+
<version>1.6.3</version>
85+
<extensions>true</extensions>
86+
<configuration>
87+
<serverId>ossrh</serverId>
88+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
89+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-compiler-plugin</artifactId>
95+
<version>2.3.2</version>
96+
<configuration>
97+
<source>1.6</source>
98+
<target>1.6</target>
99+
</configuration>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-source-plugin</artifactId>
104+
<executions>
105+
<execution>
106+
<id>attach-sources</id>
107+
<goals>
108+
<goal>jar</goal>
109+
</goals>
110+
</execution>
111+
</executions>
112+
</plugin>
113+
114+
<plugin>
115+
<groupId>org.apache.maven.plugins</groupId>
116+
<artifactId>maven-javadoc-plugin</artifactId>
117+
<configuration>
118+
<source>8</source>
119+
<show>public</show>
120+
<nohelp>true</nohelp>
121+
<author>true</author>
122+
<version>true</version>
123+
<use>true</use>
124+
<windowtitle>LoginRadius Java</windowtitle>
125+
<doctitle><![CDATA[<h1>LoginRadius Java</h1>]]></doctitle>
126+
<bottom><![CDATA[<i>Copyright &#169; 2015 LoginRadius, Inc. All Rights Reserved.</i>]]></bottom>
127+
<additionalparam>-Xdoclint:none</additionalparam>
128+
</configuration>
129+
<executions>
130+
<execution>
131+
<id>attach-javadocs</id>
132+
<goals>
133+
<goal>jar</goal>
134+
</goals>
135+
</execution>
136+
</executions>
137+
138+
</plugin>
139+
</plugins>
140+
141+
</build>
6142

7-
<groupId>com.loginradius.sdk</groupId>
8-
<artifactId>java-sdk</artifactId>
9-
<version>11.1.0</version>
10-
<description>LoginRadius java SDK contains registration and social APIs</description>
11-
<url>https://github.com/LoginRadius/java-sdk</url>
12-
13-
<licenses>
14-
<license>
15-
<name>MIT License</name>
16-
<url>http://www.opensource.org/licenses/mit-license.php</url>
17-
</license>
18-
</licenses>
19-
20-
<developers>
21-
<developer>
22-
<id>support</id>
23-
<name>LoginRadius Support</name>
24-
<email>support@loginradius.com</email>
25-
<organization>LoginRadius</organization>
26-
<organizationUrl>https://www.loginradius.com</organizationUrl>
27-
</developer>
28-
</developers>
29-
30-
<scm>
31-
<connection>scm:git:git@github.com:LoginRadius/java-sdk.git.git</connection>
32-
<developerConnection>scm:git:git@github.com:LoginRadius/java-sdk.git.git</developerConnection>
33-
<url>git@github.com:LoginRadius/java-sdk.git.git</url>
34-
</scm>
35-
36-
<dependencies>
37-
38-
<dependency>
39-
<groupId>com.google.code.gson</groupId>
40-
<artifactId>gson</artifactId>
41-
<version>2.2.4</version>
42-
</dependency>
43-
44-
<dependency>
45-
<groupId>javax.servlet</groupId>
46-
<artifactId>servlet-api</artifactId>
47-
<version>2.5</version>
48-
</dependency>
49-
50-
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
51-
<dependency>
52-
<groupId>commons-codec</groupId>
53-
<artifactId>commons-codec</artifactId>
54-
<version>1.9</version>
55-
</dependency>
56-
57-
</dependencies>
58-
59-
<distributionManagement>
60-
<snapshotRepository>
61-
<id>ossrh</id>
62-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
63-
</snapshotRepository>
64-
</distributionManagement>
65-
66-
<build>
67-
<plugins>
68-
<plugin>
69-
<groupId>org.apache.maven.plugins</groupId>
70-
<artifactId>maven-gpg-plugin</artifactId>
71-
<version>1.5</version>
72-
<executions>
73-
<execution>
74-
<id>sign-artifacts</id>
75-
<phase>verify</phase>
76-
<goals>
77-
<goal>sign</goal>
78-
</goals>
79-
</execution>
80-
</executions>
81-
</plugin>
82-
83-
<plugin>
84-
<groupId>org.apache.maven.plugins</groupId>
85-
<artifactId>maven-compiler-plugin</artifactId>
86-
<version>2.3.2</version>
87-
<configuration>
88-
<source>1.6</source>
89-
<target>1.6</target>
90-
</configuration>
91-
</plugin>
92-
<plugin>
93-
<groupId>org.apache.maven.plugins</groupId>
94-
<artifactId>maven-source-plugin</artifactId>
95-
<executions>
96-
<execution>
97-
<id>attach-sources</id>
98-
<goals>
99-
<goal>jar</goal>
100-
</goals>
101-
</execution>
102-
</executions>
103-
</plugin>
104-
105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-javadoc-plugin</artifactId>
108-
<configuration>
109-
<show>public</show>
110-
<nohelp>true</nohelp>
111-
<author>true</author>
112-
<version>true</version>
113-
<use>true</use>
114-
<windowtitle>LoginRadius Java</windowtitle>
115-
<doctitle><![CDATA[<h1>LoginRadius Java</h1>]]></doctitle>
116-
<bottom><![CDATA[<i>Copyright &#169; 2015 LoginRadius, Inc. All Rights Reserved.</i>]]></bottom>
117-
<additionalparam>-Xdoclint:none</additionalparam>
118-
</configuration>
119-
<executions>
120-
<execution>
121-
<id>attach-javadocs</id>
122-
<goals>
123-
<goal>jar</goal>
124-
</goals>
125-
</execution>
126-
</executions>
127-
128-
</plugin>
129-
</plugins>
130-
131-
</build>
132143

133144

134145
</project>

LoginRadius-JavaSDK/src/main/java/com/loginradius/sdk/helper/LoginRadiusRequest.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,11 @@ private static String getTime() {
249249
*
250250
* Method used to add proxy settings with authentication
251251
*
252-
* @param host
253-
* @param port
254-
* @param username
255-
* @param password
252+
* @param host The host
253+
* @param port The port
254+
* @param username The username
255+
* @param password The password
256+
* @return The Proxy
256257
*/
257258
private static Proxy setProxy(String host, int port, final String username, final String password) {
258259

@@ -272,8 +273,9 @@ public PasswordAuthentication getPasswordAuthentication() {
272273
*
273274
* Method used to add proxy settings without Authentication
274275
*
275-
* @param host
276-
* @param port
276+
* @param host The host
277+
* @param port The port
278+
* @return The Proxy
277279
*/
278280
public static Proxy setProxyWithoutAuthentication(String host, int port) {
279281

0 commit comments

Comments
 (0)