Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bug fix on isAdminUser which breaks Serialization
  • Loading branch information
alaksmana committed Aug 31, 2018
commit dbf95b7dadac5696835e4e0a48e6b9391452cc92
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.usergrid</groupId>
<artifactId>usergrid-java-client</artifactId>
<version>2.2.0-SNAPSHOT</version>
<version>2.2.1-SNAPSHOT</version>
<packaging>jar</packaging>
<description>A Java client for Usergrid</description>
<url>http://usergrid.apache.org</url>
Expand Down Expand Up @@ -51,6 +51,10 @@
<id>rwalsh</id>
<name>Robert Walsh</name>
</developer>
<developer>
<id>alaksmana</id>
<name>Andre Laksmana</name>
</developer>
</developers>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class UsergridAuth {
@Nullable private String accessToken = null;
@Nullable private Long expiry = null;
private boolean usingToken = false;
private boolean isAdminUser = false;
boolean isAdminUser = false;

public UsergridAuth() { }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public class UsergridUserAuth extends UsergridAuth {

@NotNull private String username;
@NotNull private String password;
private boolean isAdminUser = false;


@NotNull public String getUsername() { return username; }
public void setUsername(@NotNull final String username) { this.username = username; }

Expand Down