mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Revert moderately silly changes.
This commit is contained in:
@@ -52,11 +52,6 @@ import javax.servlet.http.HttpSession;
|
|||||||
*/
|
*/
|
||||||
public class Credentials implements Serializable {
|
public class Credentials implements Serializable {
|
||||||
|
|
||||||
/**
|
|
||||||
* The version number of this class, used during serialization.
|
|
||||||
*
|
|
||||||
* @see Serializable
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -93,7 +88,7 @@ public class Credentials implements Serializable {
|
|||||||
* @param password The password to associate with this username/password
|
* @param password The password to associate with this username/password
|
||||||
* pair.
|
* pair.
|
||||||
*/
|
*/
|
||||||
public void setPassword(final String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,7 +106,7 @@ public class Credentials implements Serializable {
|
|||||||
* @param username The username to associate with this username/password
|
* @param username The username to associate with this username/password
|
||||||
* pair.
|
* pair.
|
||||||
*/
|
*/
|
||||||
public void setUsername(final String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -129,7 +124,7 @@ public class Credentials implements Serializable {
|
|||||||
* @param request The HttpServletRequest to associated with this set of
|
* @param request The HttpServletRequest to associated with this set of
|
||||||
* credentials.
|
* credentials.
|
||||||
*/
|
*/
|
||||||
public void setRequest(final HttpServletRequest request) {
|
public void setRequest(HttpServletRequest request) {
|
||||||
this.request = request;
|
this.request = request;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,7 +142,7 @@ public class Credentials implements Serializable {
|
|||||||
* @param session The HttpSession to associated with this set of
|
* @param session The HttpSession to associated with this set of
|
||||||
* credentials.
|
* credentials.
|
||||||
*/
|
*/
|
||||||
public void setSession(final HttpSession session) {
|
public void setSession(HttpSession session) {
|
||||||
this.session = session;
|
this.session = session;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ public class AuthenticationFailureEvent implements CredentialEvent {
|
|||||||
*
|
*
|
||||||
* @param credentials The credentials which failed authentication.
|
* @param credentials The credentials which failed authentication.
|
||||||
*/
|
*/
|
||||||
public AuthenticationFailureEvent(final Credentials credentials) {
|
public AuthenticationFailureEvent(Credentials credentials) {
|
||||||
this.credentials = credentials;
|
this.credentials = credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ public class AuthenticationSuccessEvent implements CredentialEvent {
|
|||||||
*
|
*
|
||||||
* @param credentials The credentials which passed authentication.
|
* @param credentials The credentials which passed authentication.
|
||||||
*/
|
*/
|
||||||
public AuthenticationSuccessEvent(final Credentials credentials) {
|
public AuthenticationSuccessEvent(Credentials credentials) {
|
||||||
this.credentials = credentials;
|
this.credentials = credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -32,9 +32,7 @@ public class TunnelCloseEvent implements CredentialEvent, TunnelEvent {
|
|||||||
* closing the tunnel.
|
* closing the tunnel.
|
||||||
* @param tunnel The tunnel being closed.
|
* @param tunnel The tunnel being closed.
|
||||||
*/
|
*/
|
||||||
public TunnelCloseEvent(final Credentials credentials,
|
public TunnelCloseEvent(Credentials credentials, GuacamoleTunnel tunnel) {
|
||||||
final GuacamoleTunnel tunnel) {
|
|
||||||
|
|
||||||
this.credentials = credentials;
|
this.credentials = credentials;
|
||||||
this.tunnel = tunnel;
|
this.tunnel = tunnel;
|
||||||
}
|
}
|
||||||
|
@@ -32,9 +32,7 @@ public class TunnelConnectEvent implements CredentialEvent, TunnelEvent {
|
|||||||
* connecting the tunnel.
|
* connecting the tunnel.
|
||||||
* @param tunnel The tunnel being connected.
|
* @param tunnel The tunnel being connected.
|
||||||
*/
|
*/
|
||||||
public TunnelConnectEvent(final Credentials credentials,
|
public TunnelConnectEvent(Credentials credentials, GuacamoleTunnel tunnel) {
|
||||||
final GuacamoleTunnel tunnel) {
|
|
||||||
|
|
||||||
this.credentials = credentials;
|
this.credentials = credentials;
|
||||||
this.tunnel = tunnel;
|
this.tunnel = tunnel;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user