Skip to content

Commit

Permalink
pre-authenticated added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Dec 5, 2015
1 parent 3896c68 commit 7a5d282
Showing 1 changed file with 17 additions and 0 deletions.
Expand Up @@ -19,6 +19,8 @@ public class UserRegistrationBean {
private String city;
private String phone;

private boolean preAuthenticated = false;

private boolean confirmedByAdministrator = false;
private String adminConfirmationKey = null;

Expand All @@ -42,6 +44,21 @@ public void setUUID(String uuid) {
this.uuid = uuid;
}

/**
* Set flag whether user is pre authenticated
*/
public void setPreAuthenticated(boolean preAuthenticated) {
this.preAuthenticated = preAuthenticated;
}

/**
* Check whether user is pre authenticated
* @return true when user is pre authenticated
*/
public boolean isPreAuthenticated() {
return preAuthenticated;
}

/**
* Set flag whether administrator has confirmed registration request
*/
Expand Down

0 comments on commit 7a5d282

Please sign in to comment.