Merge 1.0.0 changes back to master.

This commit is contained in:
Nick Couchman
2018-10-05 15:13:36 -04:00
8 changed files with 74 additions and 7 deletions

View File

@@ -41,11 +41,6 @@ public class TOTPUser extends DelegatingUser {
*/
public static final String TOTP_KEY_CONFIRMED_ATTRIBUTE_NAME = "guac-totp-key-confirmed";
/**
* The User object wrapped by this TOTPUser.
*/
private final User undecorated;
/**
* Wraps the given User object, hiding and blocking access to the core
* attributes used by TOTP.
@@ -55,7 +50,6 @@ public class TOTPUser extends DelegatingUser {
*/
public TOTPUser(User user) {
super(user);
this.undecorated = user;
}
/**
@@ -65,7 +59,7 @@ public class TOTPUser extends DelegatingUser {
* The wrapped User object.
*/
public User getUndecorated() {
return undecorated;
return getDelegateUser();
}
@Override