-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-config-api): user custom attributes at root level - 1348
- Loading branch information
Showing
6 changed files
with
341 additions
and
17 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Eclipse | ||
.project | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# IntelliJ | ||
.idea | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# NetBeans | ||
nb-configuration.xml | ||
|
||
# Visual Studio Code | ||
.vscode | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
# patch | ||
*.orig | ||
*.rej | ||
|
||
# Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties |
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
57 changes: 57 additions & 0 deletions
57
...i/plugins/user-mgt-plugin/src/main/java/io/jans/configapi/plugin/mgt/model/user/User.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package io.jans.configapi.plugin.mgt.model.user; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
import io.jans.orm.model.base.CustomObjectAttribute; | ||
|
||
import java.util.List; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class User extends io.jans.as.common.model.common.User { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
private String mail; | ||
private String displayName; | ||
private String jansStatus; | ||
private String givenName; | ||
private String userPassword; | ||
|
||
public String getMail() { | ||
return mail; | ||
} | ||
public void setMail(String mail) { | ||
this.mail = mail; | ||
} | ||
public String getDisplayName() { | ||
return displayName; | ||
} | ||
public void setDisplayName(String displayName) { | ||
this.displayName = displayName; | ||
} | ||
public String getJansStatus() { | ||
return jansStatus; | ||
} | ||
public void setJansStatus(String jansStatus) { | ||
this.jansStatus = jansStatus; | ||
} | ||
public String getGivenName() { | ||
return givenName; | ||
} | ||
public void setGivenName(String givenName) { | ||
this.givenName = givenName; | ||
} | ||
public String getUserPassword() { | ||
return userPassword; | ||
} | ||
public void setUserPassword(String userPassword) { | ||
this.userPassword = userPassword; | ||
} | ||
@Override | ||
public String toString() { | ||
return "User [mail=" + mail + ", displayName=" + displayName + ", jansStatus=" + jansStatus + ", givenName=" | ||
+ givenName + ", userPassword= XXXXX ]"; | ||
} | ||
|
||
|
||
} |
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.