GUACAMOLE-197: Add JavaDoc comments for the response field class; remove some debug code.

This commit is contained in:
Nick Couchman
2017-02-15 12:37:15 -05:00
committed by Nick Couchman
parent 0d505bdcf7
commit 59e8b8a667

View File

@@ -24,12 +24,12 @@ import org.codehaus.jackson.annotate.JsonProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class RadiusChallengeResponseField extends Field {
/**
* Logger for this class.
* A form used to prompt the user for additional information when
* the RADIUS server sends a challenge back to the user with a reply
* message.
*/
private final Logger logger = LoggerFactory.getLogger(RadiusChallengeResponseField.class);
public class RadiusChallengeResponseField extends Field {
/**
* The field returned by the RADIUS challenge/response.
@@ -51,12 +51,13 @@ public class RadiusChallengeResponseField extends Field {
*/
public RadiusChallengeResponseField(String replyMsg) {
super(PARAMETER_NAME, RADIUS_FIELD_TYPE);
logger.debug("Initializing the RADIUS challenge/response field: {}", replyMsg);
this.replyMsg = replyMsg;
}
/**
* Get the value of the replyMsg field.
*/
public String getReplyMsg() {
return replyMsg;
}