You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/sharing/user/SharedUser.java
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,28 @@ public String getIdentifier() {
78
78
publicvoidsetIdentifier(Stringidentifier) {
79
79
thrownewUnsupportedOperationException("Users authenticated via share keys are immutable.");
80
80
}
81
+
82
+
/**
83
+
* {@inheritDoc}
84
+
*
85
+
* <p>SharedUser accounts are always enabled, as access is controlled via
86
+
* the shared token.
87
+
*/
88
+
@Override
89
+
publicbooleanisDisabled() {
90
+
returnfalse;
91
+
}
92
+
93
+
/**
94
+
* {@inheritDoc}
95
+
*
96
+
* <p>This method silently ignores the value passed in the disabled parameter,
97
+
* as disabling the account is done by invalidating the sharing token.
Copy file name to clipboardExpand all lines: extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/user/ModeledUser.java
+10-28Lines changed: 10 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -63,12 +63,6 @@ public class ModeledUser extends ModeledPermissions<UserModel> implements User {
Copy file name to clipboardExpand all lines: extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/usergroup/ModeledUserGroup.java
0 commit comments