You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/01/30 23:44:16 UTC
[04/50] guacamole-client git commit: GUACAMOLE-197: Add JavaDoc
comments for the state field class; remove debug code.
GUACAMOLE-197: Add JavaDoc comments for the state field class; remove debug code.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/c02e46e7
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/c02e46e7
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/c02e46e7
Branch: refs/heads/master
Commit: c02e46e70db796c020f6163dc68909567ec50572
Parents: 59e8b8a
Author: Nick Couchman <ni...@yahoo.com>
Authored: Wed Feb 15 12:39:06 2017 -0500
Committer: Nick Couchman <vn...@apache.org>
Committed: Mon Jan 29 17:08:09 2018 -0500
----------------------------------------------------------------------
.../guacamole/auth/radius/form/RadiusStateField.java | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/c02e46e7/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/form/RadiusStateField.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/form/RadiusStateField.java b/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/form/RadiusStateField.java
index 97a0e44..51d57fe 100644
--- a/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/form/RadiusStateField.java
+++ b/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/form/RadiusStateField.java
@@ -24,13 +24,14 @@ import org.codehaus.jackson.annotate.JsonProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+/**
+ * The invisible field that stores the state of the RADIUS
+ * connection. The state is simply a placeholder that helps
+ * the client and server pick back up the conversation
+ * at the correct spot during challenge/response.
+ */
public class RadiusStateField extends Field {
-
- /**
- * Logger for this class.
- */
- private final Logger logger = LoggerFactory.getLogger(RadiusStateField.class);
-
+
/**
* The parameter returned by the RADIUS state.
*/
@@ -51,8 +52,6 @@ public class RadiusStateField extends Field {
*/
public RadiusStateField(String radiusState) {
super(PARAMETER_NAME, RADIUS_FIELD_TYPE);
- logger.debug("Initializing the RADIUS state field: {}", radiusState);
-
this.radiusState = radiusState;
}