Skip to content

Commit 71d5157

Browse files
committed
Released version 3.1.0
- Added new Two Factor Authentication [2FA] APIs. - Added new API to get basic server information for sott time validation. - Added new context based Roles and Permissions Management APIs - Added new fields in APIs response Unverified email ids in UserProfile and Image in PhotoAPI. - Added new email prompt Auto login. - Significantly improved code performance. - Increased custom connection and socket timeout 15000(milliseconds).
1 parent 899499b commit 71d5157

File tree

212 files changed

+1003
-379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+1003
-379
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
33

44

5+
### Version 3.1.0
6+
Released on **May 10, 2017**
7+
8+
##### Enhancements
9+
10+
- Added new Two Factor Authentication [2FA] APIs.
11+
- Added new api to get basic server information for sott time validation.
12+
- Added new Context based Roles and Permissions Management APIs
13+
- Added new fields in APIs response Unverified email ids in UserProfile and Image in PhotoAPI.
14+
- Added new email prompt Auto login.
15+
- Significantly improved code performance.
16+
- Increased custom connection and socket timeout 15000(milliseconds).
17+
18+
19+
20+
21+
522
### Version 3.0.0
623
Released on **April 13, 2017**
724

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,24 @@ Please visit [here](http://www.loginradius.com/) for more information.
2121

2222
# Installing
2323

24-
Use the following jar in your project:
2524

25+
# Installing
26+
27+
LoginRadius is now using Maven. At present the jars *are* available from a public [maven]( http://search.maven.org/#search%7Cga%7C1%7Cloginradius) repository.
28+
29+
Use the following dependency in your project:
30+
31+
```
32+
<dependency>
33+
<groupId>com.loginradius.sdk</groupId>
34+
<artifactId>java-sdk</artifactId>
35+
<version>3.1.0</version>
36+
</dependency>
37+
38+
The jars are also available [here](http://search.maven.org/#search%7Cga%7C1%7Cloginradius). Select the directory for
39+
the latest version and download the jar files.
2640
27-
The jars are available [here](https://github.com/LoginRadius/java-sdk/tree/master/demo/LoginRadiusJavaDemo/WebContent/WEB-INF/lib). download the loginradius-sdk-3.0.0 jar files.
28-
29-
## Documentation
41+
## Documentation
3042
3143
[Getting Started](https://docs.loginradius.com/api/v2/sdk-libraries/java-library) - Everything you need to begin using this SDK.
3244

demo/LoginRadiusJavaDemo/WebContent/AddEmail.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
1111
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
1212
</head>
13-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
13+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
1414
<script type="text/javascript">
1515
var commonOptions = {};
1616
commonOptions.apiKey = "<%=application.getInitParameter("LoginRadiusApiKey")%>";

demo/LoginRadiusJavaDemo/WebContent/ChangePassword.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
1919
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
2020
</head>
21-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
21+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
2222
<script type="text/javascript">
2323
var commonOptions = {};
2424
commonOptions.apiKey = "<%=application.getInitParameter("LoginRadiusApiKey")%>";

demo/LoginRadiusJavaDemo/WebContent/ChangeUsername.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
1111
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
1212
</head>
13-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
13+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
1414
<script type="text/javascript">
1515
var commonOptions = {};
1616
commonOptions.apiKey = "<%=application.getInitParameter("LoginRadiusApiKey")%>";

demo/LoginRadiusJavaDemo/WebContent/Home.jsp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
<%@page import="com.loginradius.sdk.models.servertime.ServerTimeResponse"%>
23
<%@page import="com.loginradius.sdk.resource.Sott"%>
34
<%@page import="com.loginradius.sdk.advanced.api.AdvancedGetAPI"%>
45
<%@page import="com.loginradius.sdk.models.resthooks.fields.FieldList"%>
@@ -61,13 +62,14 @@
6162
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
6263
<title>Insert title here</title>
6364

64-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
65+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
6566

6667
<%
6768
String apikey=application.getInitParameter("LoginRadiusApiKey");
6869
String apisecret=application.getInitParameter("LoginRadiusSecret");
70+
6971
Sott getsott =new Sott();
70-
String sott =getsott.main(apisecret,apikey);%>
72+
String sott =getsott.main(apisecret,apikey,null);%>
7173
<script>
7274
function redirect(token) {
7375
var form = document.createElement("form");

demo/LoginRadiusJavaDemo/WebContent/Linking.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
2929
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
3030
</head>
31-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
31+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
3232
<script type="text/javascript">
3333
3434

demo/LoginRadiusJavaDemo/WebContent/Profile.jsp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@
3434
String apisecret=application.getInitParameter("LoginRadiusSecret");
3535
LoginRadiusCallbackHelper callbackhelper = new LoginRadiusCallbackHelper(apisecret);
3636
AccessToken token = callbackhelper.GetLoginRadiusToken(request);
37-
LoginRadiusClient client = new LoginRadiusClient(token);
37+
LoginRadiusClient client = new LoginRadiusClient();
38+
client.setToken(token);
3839
Gson gson = new Gson();
3940
4041
42+
4143
4244
4345

demo/LoginRadiusJavaDemo/WebContent/RemoveEmail.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
1212
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
1313
</head>
14-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
14+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
1515
<script type="text/javascript">
1616
var commonOptions = {};
1717
commonOptions.apiKey = "<%=application.getInitParameter("LoginRadiusApiKey")%>";

demo/LoginRadiusJavaDemo/WebContent/UpdatePhone.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
1212
<link rel="stylesheet" type="text/css" href="assets/css/lr_raas.css">
1313
</head>
14-
<script src="https://auth.lrcontent.com/v2/LoginRadiusV2.js"></script>
14+
<script src="https://auth.lrcontent.com/v2/js/LoginRadiusV2.js"></script>
1515
<script type="text/javascript">
1616
var commonOptions = {};
1717
commonOptions.apiKey = "<%=application.getInitParameter("LoginRadiusApiKey")%>";

0 commit comments

Comments
 (0)