GUACAMOLE-224: Merge removal of @author tags.

This commit is contained in:
James Muehlner
2017-02-28 10:06:28 -08:00
412 changed files with 18 additions and 832 deletions

View File

@@ -31,8 +31,6 @@ import org.apache.guacamole.servlet.GuacamoleHTTPTunnelServlet;
/**
* Simple tunnel example with hard-coded configuration parameters.
*
* @author Michael Jumper
*/
public class DummyGuacamoleTunnelServlet extends GuacamoleHTTPTunnelServlet {

View File

@@ -32,8 +32,6 @@ import java.security.Principal;
/**
* Service providing convenience functions for the HTTP Header
* AuthenticationProvider implementation.
*
* @author Nick Couchman
*/
public class AuthenticationProviderService {

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.environment.Environment;
/**
* Service for retrieving configuration information for HTTP header-based
* authentication.
*
* @author Nick Couchman
*/
public class ConfigurationService {

View File

@@ -32,8 +32,6 @@ import org.apache.guacamole.net.auth.UserContext;
* arbitrary external HTTP header. No storage for connections is
* provided - only authentication. Storage must be provided by some other
* extension.
*
* @author Nick Couchman
*/
public class HTTPHeaderAuthenticationProvider implements AuthenticationProvider {

View File

@@ -27,8 +27,6 @@ import org.apache.guacamole.net.auth.AuthenticationProvider;
/**
* Guice module which configures HTTP header-specific injections.
*
* @author Michael Jumper
*/
public class HTTPHeaderAuthenticationProviderModule extends AbstractModule {

View File

@@ -27,8 +27,6 @@ import org.apache.guacamole.properties.StringGuacamoleProperty;
* Provides properties required for use of the HTTP header
* authentication provider. These properties will be read from
* guacamole.properties when the HTTP authentication provider is used.
*
* @author Nick Couchman
*/
public class HTTPHeaderGuacamoleProperties {

View File

@@ -28,8 +28,6 @@ import org.apache.guacamole.net.auth.Credentials;
* An HTTP header implementation of AuthenticatedUser, associating a
* username and particular set of credentials with the HTTP authentication
* provider.
*
* @author Michael Jumper
*/
public class AuthenticatedUser extends AbstractAuthenticatedUser {

View File

@@ -29,8 +29,6 @@ import org.apache.guacamole.net.auth.UserContext;
* Service which authenticates users based on credentials and provides for
* the creation of corresponding, new UserContext objects for authenticated
* users.
*
* @author Michael Jumper
*/
public interface AuthenticationProviderService {

View File

@@ -33,8 +33,6 @@ import org.apache.guacamole.net.auth.AuthenticatedUser;
* means for Guice to (effectively) apply dependency injection to an
* AuthenticationProvider, even though it is the AuthenticationProvider that
* serves as the entry point.
*
* @author Michael Jumper
*/
public abstract class InjectedAuthenticationProvider implements AuthenticationProvider {

View File

@@ -83,9 +83,6 @@ import org.mybatis.guice.datasource.builtin.PooledDataSourceProvider;
* Guice module which configures the injections used by the JDBC authentication
* provider base. This module MUST be included in the Guice injector, or
* authentication providers based on JDBC will not function.
*
* @author Michael Jumper
* @author James Muehlner
*/
public class JDBCAuthenticationProviderModule extends MyBatisModule {

View File

@@ -39,8 +39,6 @@ import org.apache.guacamole.net.auth.credentials.GuacamoleInvalidCredentialsExce
* AuthenticationProviderService implementation which authenticates users with
* a username/password pair, producing new UserContext objects which are backed
* by an underlying, arbitrary database.
*
* @author Michael Jumper
*/
public class JDBCAuthenticationProviderService implements AuthenticationProviderService {

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.auth.jdbc.security.PasswordPolicy;
/**
* A JDBC-specific implementation of Environment that defines generic properties
* intended for use within JDBC based authentication providers.
*
* @author James Muehlner
*/
public abstract class JDBCEnvironment extends LocalEnvironment {

View File

@@ -35,8 +35,6 @@ import org.apache.guacamole.GuacamoleException;
* classloader. Within the context of the JDBC extension, as long as each built
* extension only provides one subclass of this class, things should work
* properly, as each extension is given its own classloader by Guacamole.
*
* @author Michael Jumper
*/
public abstract class JDBCInjectorProvider {

View File

@@ -32,8 +32,6 @@ import org.apache.guacamole.net.auth.Directory;
/**
* Implementation of a Directory which contains all currently-active
* connections.
*
* @author Michael Jumper
*/
public class ActiveConnectionDirectory extends RestrictedObject
implements Directory<ActiveConnection> {

View File

@@ -40,8 +40,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
/**
* Service which provides convenience methods for creating, retrieving, and
* manipulating active connections.
*
* @author Michael Jumper
*/
public class ActiveConnectionPermissionService
extends AbstractPermissionService<ObjectPermissionSet, ObjectPermission>

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.auth.jdbc.permission.ObjectPermissionSet;
/**
* An implementation of ObjectPermissionSet which uses an injected service to
* query and manipulate the permissions associated with active connections.
*
* @author Michael Jumper
*/
public class ActiveConnectionPermissionSet extends ObjectPermissionSet {

View File

@@ -38,8 +38,6 @@ import org.apache.guacamole.net.auth.ActiveConnection;
/**
* Service which provides convenience methods for creating, retrieving, and
* manipulating active connections.
*
* @author Michael Jumper
*/
public class ActiveConnectionService
implements DirectoryObjectService<TrackedActiveConnection, ActiveConnection> {

View File

@@ -34,8 +34,6 @@ import org.apache.guacamole.net.auth.credentials.UserCredentials;
/**
* An implementation of the ActiveConnection object which has an associated
* ActiveConnectionRecord.
*
* @author Michael Jumper
*/
public class TrackedActiveConnection extends RestrictedObject implements ActiveConnection {

View File

@@ -23,8 +23,6 @@ package org.apache.guacamole.auth.jdbc.base;
* Object representation of a Guacamole object which can be the child of another
* object, such as a connection or sharing profile, as represented in the
* database.
*
* @author Michael Jumper
*/
public abstract class ChildObjectModel extends ObjectModel {

View File

@@ -30,7 +30,6 @@ import org.apache.guacamole.GuacamoleException;
* within directories. This service will automatically enforce the permissions
* of the current user.
*
* @author Michael Jumper
* @param <InternalType>
* The specific internal implementation of the type of object this service
* provides access to.

View File

@@ -26,7 +26,6 @@ import org.apache.guacamole.auth.jdbc.connectiongroup.RootConnectionGroup;
* the Directory class. All such objects will need the same base set of queries
* to fulfill the needs of the Directory class.
*
* @author Michael Jumper
* @param <ModelType>
* The type of model object that corresponds to this object.
*/

View File

@@ -34,7 +34,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
* manipulating objects that can be children of other objects. This service will
* automatically enforce the permissions of the current user.
*
* @author Michael Jumper
* @param <InternalType>
* The specific internal implementation of the type of object this service
* provides access to.

View File

@@ -27,7 +27,6 @@ import org.apache.guacamole.net.auth.Identifiable;
* such objects will need the same base set of queries to fulfill the needs of
* the Directory class.
*
* @author Michael Jumper
* @param <ModelType>
* The type of model object that corresponds to this object.
*/

View File

@@ -29,7 +29,6 @@ import org.apache.ibatis.annotations.Param;
* the Directory class. All such objects will need the same base set of queries
* to fulfill the needs of the Directory class.
*
* @author Michael Jumper
* @param <ModelType>
* The type of object contained within the directory whose objects are
* mapped by this mapper.
@@ -134,4 +133,4 @@ public interface ModeledDirectoryObjectMapper<ModelType> {
*/
int update(@Param("object") ModelType object);
}
}

View File

@@ -38,7 +38,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
* manipulating objects within directories. This service will automatically
* enforce the permissions of the current user.
*
* @author Michael Jumper
* @param <InternalType>
* The specific internal implementation of the type of object this service
* provides access to.

View File

@@ -26,7 +26,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledAuthenticatedUser;
* JDBC-driven authentication providers, all modeled objects are also
* restricted.
*
* @author Michael Jumper
* @param <ModelType>
* The type of model object which corresponds to this object.
*/

View File

@@ -22,8 +22,6 @@ package org.apache.guacamole.auth.jdbc.base;
/**
* Object representation of a Guacamole object, such as a user or connection,
* as represented in the database.
*
* @author Michael Jumper
*/
public abstract class ObjectModel {

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledAuthenticatedUser;
/**
* Common base class for objects that are associated with the users that
* obtain them.
*
* @author Michael Jumper
*/
public abstract class RestrictedObject {

View File

@@ -33,9 +33,6 @@ import org.mybatis.guice.transactional.Transactional;
/**
* Implementation of the Connection Directory which is driven by an underlying,
* arbitrary database.
*
* @author James Muehlner
* @author Michael Jumper
*/
public class ConnectionDirectory extends RestrictedObject
implements Directory<Connection> {

View File

@@ -26,8 +26,6 @@ import org.apache.ibatis.annotations.Param;
/**
* Mapper for connection objects.
*
* @author Michael Jumper
*/
public interface ConnectionMapper extends ModeledDirectoryObjectMapper<ConnectionModel> {
@@ -86,4 +84,4 @@ public interface ConnectionMapper extends ModeledDirectoryObjectMapper<Connectio
ConnectionModel selectOneByName(@Param("parentIdentifier") String parentIdentifier,
@Param("name") String name);
}
}

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.auth.jdbc.base.ChildObjectModel;
/**
* Object representation of a Guacamole connection, as represented in the
* database.
*
* @author Michael Jumper
*/
public class ConnectionModel extends ChildObjectModel {

View File

@@ -24,8 +24,6 @@ import org.apache.ibatis.annotations.Param;
/**
* Mapper for connection parameter objects.
*
* @author Michael Jumper
*/
public interface ConnectionParameterMapper {

View File

@@ -21,8 +21,6 @@ package org.apache.guacamole.auth.jdbc.connection;
/**
* A single parameter name/value pair belonging to a connection.
*
* @author Michael Jumper
*/
public class ConnectionParameterModel {

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.auth.jdbc.user.UserModel;
/**
* Mapper for connection record objects.
*
* @author Michael Jumper
*/
public interface ConnectionRecordMapper {

View File

@@ -25,8 +25,6 @@ import java.util.Date;
* A single connection record representing a past usage of a particular
* connection. If the connection was being shared, the sharing profile used to
* join the connection is included in the record.
*
* @author Michael Jumper
*/
public class ConnectionRecordModel {

View File

@@ -28,8 +28,6 @@ import java.util.regex.Pattern;
* A search term for querying historical connection records. This will contain
* a the search term in string form and, if that string appears to be a date. a
* corresponding date range.
*
* @author James Muehlner
*/
public class ConnectionRecordSearchTerm {

View File

@@ -33,8 +33,6 @@ import org.apache.guacamole.net.auth.ConnectionRecord;
* A JDBC implementation of ConnectionRecordSet. Calls to asCollection() will
* query connection history records from the database. Which records are
* returned will be determined by the values passed in earlier.
*
* @author James Muehlner
*/
public class ConnectionRecordSet extends RestrictedObject
implements org.apache.guacamole.net.auth.ConnectionRecordSet {

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.net.auth.ConnectionRecordSet;
/**
* A sort predicate which species the property to use when sorting connection
* records, along with the sort order.
*
* @author James Muehlner
*/
public class ConnectionRecordSortPredicate {

View File

@@ -49,8 +49,6 @@ import org.apache.guacamole.protocol.GuacamoleClientInformation;
/**
* Service which provides convenience methods for creating, retrieving, and
* manipulating connections.
*
* @author Michael Jumper, James Muehlner
*/
public class ConnectionService extends ModeledChildDirectoryObjectService<ModeledConnection, Connection, ConnectionModel> {

View File

@@ -46,9 +46,6 @@ import org.slf4j.LoggerFactory;
/**
* An implementation of the Connection object which is backed by a database
* model.
*
* @author James Muehlner
* @author Michael Jumper
*/
public class ModeledConnection extends ModeledChildDirectoryObject<ConnectionModel>
implements Connection {

View File

@@ -25,9 +25,6 @@ import org.apache.guacamole.net.auth.ConnectionRecord;
/**
* A ConnectionRecord which is backed by a database model.
*
* @author James Muehlner
* @author Michael Jumper
*/
public class ModeledConnectionRecord implements ConnectionRecord {

View File

@@ -27,8 +27,6 @@ import org.apache.guacamole.protocol.GuacamoleConfiguration;
/**
* Implementation of GuacamoleConfiguration which loads parameter values only
* if necessary, and only if allowed.
*
* @author Michael Jumper
*/
public class ModeledGuacamoleConfiguration extends GuacamoleConfiguration {

View File

@@ -33,9 +33,6 @@ import org.mybatis.guice.transactional.Transactional;
/**
* Implementation of the ConnectionGroup Directory which is driven by an
* underlying, arbitrary database.
*
* @author James Muehlner
* @author Michael Jumper
*/
public class ConnectionGroupDirectory extends RestrictedObject
implements Directory<ConnectionGroup> {

View File

@@ -26,8 +26,6 @@ import org.apache.ibatis.annotations.Param;
/**
* Mapper for connection group objects.
*
* @author Michael Jumper
*/
public interface ConnectionGroupMapper extends ModeledDirectoryObjectMapper<ConnectionGroupModel> {
@@ -86,4 +84,4 @@ public interface ConnectionGroupMapper extends ModeledDirectoryObjectMapper<Conn
ConnectionGroupModel selectOneByName(@Param("parentIdentifier") String parentIdentifier,
@Param("name") String name);
}
}

View File

@@ -27,8 +27,6 @@ import org.apache.guacamole.net.auth.ConnectionGroup;
/**
* Object representation of a Guacamole connection group, as represented in the
* database.
*
* @author Michael Jumper
*/
public class ConnectionGroupModel extends ChildObjectModel {

View File

@@ -43,8 +43,6 @@ import org.apache.guacamole.protocol.GuacamoleClientInformation;
/**
* Service which provides convenience methods for creating, retrieving, and
* manipulating connection groups.
*
* @author Michael Jumper, James Muehlner
*/
public class ConnectionGroupService extends ModeledChildDirectoryObjectService<ModeledConnectionGroup,
ConnectionGroup, ConnectionGroupModel> {

View File

@@ -43,9 +43,6 @@ import org.slf4j.LoggerFactory;
/**
* An implementation of the ConnectionGroup object which is backed by a
* database model.
*
* @author James Muehlner
* @author Michael Jumper
*/
public class ModeledConnectionGroup extends ModeledChildDirectoryObject<ConnectionGroupModel>
implements ConnectionGroup {

View File

@@ -34,8 +34,6 @@ import org.apache.guacamole.protocol.GuacamoleClientInformation;
/**
* The root connection group, here represented as its own dedicated object as
* the database does not contain an actual root group.
*
* @author Michael Jumper
*/
public class RootConnectionGroup extends RestrictedObject
implements ConnectionGroup {

View File

@@ -31,7 +31,6 @@ import org.apache.guacamole.net.auth.permission.PermissionSet;
* Abstract PermissionService implementation which provides additional
* convenience methods for enforcing the permission model.
*
* @author Michael Jumper
* @param <PermissionSetType>
* The type of permission sets this service provides access to.
*

View File

@@ -21,7 +21,5 @@ package org.apache.guacamole.auth.jdbc.permission;
/**
* Mapper for connection group permissions.
*
* @author Michael Jumper
*/
public interface ConnectionGroupPermissionMapper extends ObjectPermissionMapper {}

View File

@@ -29,8 +29,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledUser;
* Service which provides convenience methods for creating, retrieving, and
* deleting connection group permissions. This service will automatically
* enforce the permissions of the current user.
*
* @author Michael Jumper
*/
public class ConnectionGroupPermissionService extends ModeledObjectPermissionService {

View File

@@ -25,8 +25,6 @@ import com.google.inject.Inject;
* A database implementation of ObjectPermissionSet which uses an injected
* service to query and manipulate the connection group permissions associated
* with a particular user.
*
* @author Michael Jumper
*/
public class ConnectionGroupPermissionSet extends ObjectPermissionSet {

View File

@@ -21,7 +21,5 @@ package org.apache.guacamole.auth.jdbc.permission;
/**
* Mapper for connection permissions.
*
* @author Michael Jumper
*/
public interface ConnectionPermissionMapper extends ObjectPermissionMapper {}

View File

@@ -29,8 +29,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledUser;
* Service which provides convenience methods for creating, retrieving, and
* deleting connection permissions. This service will automatically enforce the
* permissions of the current user.
*
* @author Michael Jumper
*/
public class ConnectionPermissionService extends ModeledObjectPermissionService {

View File

@@ -25,8 +25,6 @@ import com.google.inject.Inject;
* A database implementation of ObjectPermissionSet which uses an injected
* service to query and manipulate the connection permissions associated with
* a particular user.
*
* @author Michael Jumper
*/
public class ConnectionPermissionSet extends ObjectPermissionSet {

View File

@@ -33,8 +33,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
* Service which provides convenience methods for creating, retrieving, and
* deleting object permissions within a backend database model. This service
* will automatically enforce the permissions of the current user.
*
* @author Michael Jumper
*/
public abstract class ModeledObjectPermissionService
extends ModeledPermissionService<ObjectPermissionSet, ObjectPermission, ObjectPermissionModel>

View File

@@ -36,7 +36,6 @@ import org.apache.guacamole.net.auth.permission.PermissionSet;
* permission sets that contain these permissions. This service will
* automatically enforce the permissions of the current user.
*
* @author Michael Jumper
* @param <PermissionSetType>
* The type of permission sets this service provides access to.
*

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermission;
/**
* Mapper for object-related permissions.
*
* @author Michael Jumper
*/
public interface ObjectPermissionMapper extends PermissionMapper<ObjectPermissionModel> {

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermission;
/**
* Object representation of an object-related Guacamole permission, as
* represented in the database.
*
* @author Michael Jumper
*/
public class ObjectPermissionModel extends PermissionModel<ObjectPermission.Type> {

View File

@@ -30,8 +30,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermissionSet;
* Service which provides convenience methods for creating, retrieving, and
* deleting object permissions. This service will automatically enforce the
* permissions of the current user.
*
* @author Michael Jumper
*/
public interface ObjectPermissionService
extends PermissionService<ObjectPermissionSet, ObjectPermission> {

View File

@@ -32,8 +32,6 @@ import org.apache.guacamole.net.auth.permission.ObjectPermission;
* A database implementation of ObjectPermissionSet which uses an injected
* service to query and manipulate the object-level permissions associated with
* a particular user.
*
* @author Michael Jumper
*/
public abstract class ObjectPermissionSet extends RestrictedObject
implements org.apache.guacamole.net.auth.permission.ObjectPermissionSet {

View File

@@ -26,7 +26,6 @@ import org.apache.ibatis.annotations.Param;
/**
* Generic base for mappers which handle permissions.
*
* @author Michael Jumper
* @param <PermissionType>
* The type of permission model object handled by this mapper.
*/
@@ -67,4 +66,4 @@ public interface PermissionMapper<PermissionType> {
*/
int delete(@Param("permissions") Collection<PermissionType> permissions);
}
}

View File

@@ -23,7 +23,6 @@ package org.apache.guacamole.auth.jdbc.permission;
* Generic base permission model which grants a permission of a particular type
* to a specific user.
*
* @author Michael Jumper
* @param <PermissionType>
* The type of permissions allowed within this model.
*/

View File

@@ -38,7 +38,6 @@ import org.apache.guacamole.net.auth.permission.PermissionSet;
* these permissions. This service will automatically enforce the permissions
* of the current user.
*
* @author Michael Jumper
* @param <PermissionSetType>
* The type of permission sets this service provides access to.
*

View File

@@ -21,8 +21,6 @@ package org.apache.guacamole.auth.jdbc.permission;
/**
* Mapper for sharing profile permissions.
*
* @author Michael Jumper
*/
public interface SharingProfilePermissionMapper
extends ObjectPermissionMapper {}

View File

@@ -29,8 +29,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledUser;
* Service which provides convenience methods for creating, retrieving, and
* deleting sharing profile permissions. This service will automatically enforce
* the permissions of the current user.
*
* @author Michael Jumper
*/
public class SharingProfilePermissionService extends ModeledObjectPermissionService {

View File

@@ -25,8 +25,6 @@ import com.google.inject.Inject;
* A database implementation of ObjectPermissionSet which uses an injected
* service to query and manipulate the sharing profile permissions associated
* with a particular user.
*
* @author Michael Jumper
*/
public class SharingProfilePermissionSet extends ObjectPermissionSet {

View File

@@ -25,8 +25,6 @@ import org.apache.guacamole.net.auth.permission.SystemPermission;
/**
* Mapper for system-level permissions.
*
* @author Michael Jumper
*/
public interface SystemPermissionMapper extends PermissionMapper<SystemPermissionModel> {
@@ -47,4 +45,4 @@ public interface SystemPermissionMapper extends PermissionMapper<SystemPermissio
SystemPermissionModel selectOne(@Param("user") UserModel user,
@Param("type") SystemPermission.Type type);
}
}

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.net.auth.permission.SystemPermission;
/**
* Object representation of an system-level Guacamole permission, as
* represented in the database.
*
* @author Michael Jumper
*/
public class SystemPermissionModel extends PermissionModel<SystemPermission.Type> {

View File

@@ -33,8 +33,6 @@ import org.apache.guacamole.net.auth.permission.SystemPermission;
* Service which provides convenience methods for creating, retrieving, and
* deleting system permissions. This service will automatically enforce
* the permissions of the current user.
*
* @author Michael Jumper
*/
public class SystemPermissionService
extends ModeledPermissionService<SystemPermissionSet, SystemPermission, SystemPermissionModel> {

View File

@@ -32,8 +32,6 @@ import org.apache.guacamole.net.auth.permission.SystemPermission;
* A database implementation of SystemPermissionSet which uses an injected
* service to query and manipulate the system permissions associated with a
* particular user.
*
* @author Michael Jumper
*/
public class SystemPermissionSet extends RestrictedObject
implements org.apache.guacamole.net.auth.permission.SystemPermissionSet {

View File

@@ -21,7 +21,5 @@ package org.apache.guacamole.auth.jdbc.permission;
/**
* Mapper for user permissions.
*
* @author Michael Jumper
*/
public interface UserPermissionMapper extends ObjectPermissionMapper {}

View File

@@ -29,8 +29,6 @@ import org.apache.guacamole.auth.jdbc.user.ModeledUser;
* Service which provides convenience methods for creating, retrieving, and
* deleting user permissions. This service will automatically enforce the
* permissions of the current user.
*
* @author Michael Jumper
*/
public class UserPermissionService extends ModeledObjectPermissionService {

View File

@@ -25,8 +25,6 @@ import com.google.inject.Inject;
* A database implementation of ObjectPermissionSet which uses an injected
* service to query and manipulate the user permissions associated with a
* particular user.
*
* @author Michael Jumper
*/
public class UserPermissionSet extends ObjectPermissionSet {

View File

@@ -22,8 +22,6 @@ package org.apache.guacamole.auth.jdbc.security;
/**
* Thrown when an attempt is made to set a user's password to a string which
* contains their own username, in violation of the defined password policy.
*
* @author Michael Jumper
*/
public class PasswordContainsUsernameException extends PasswordPolicyException {

View File

@@ -21,7 +21,6 @@ package org.apache.guacamole.auth.jdbc.security;
/**
* A service to perform password encryption and checking.
* @author James Muehlner
*/
public interface PasswordEncryptionService {

View File

@@ -25,8 +25,6 @@ import org.apache.guacamole.language.TranslatableMessage;
/**
* Thrown when an attempt is made to set a user's password to a string which is
* too short, in violation of the defined password policy.
*
* @author Michael Jumper
*/
public class PasswordMinimumLengthException extends PasswordPolicyException {

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.GuacamoleException;
/**
* A set of restrictions which define the level of complexity required for
* the passwords of Guacamole user accounts.
*
* @author Michael Jumper
*/
public interface PasswordPolicy {

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.language.TranslatableMessage;
/**
* Thrown when an attempt to change a user's password fails due to a violation
* of password complexity policies.
*
* @author Michael Jumper
*/
public class PasswordPolicyException extends GuacamoleClientException
implements Translatable {

View File

@@ -34,8 +34,6 @@ import org.apache.guacamole.auth.jdbc.user.PasswordRecordModel;
/**
* Service which verifies compliance with the password policy configured via
* guacamole.properties.
*
* @author Michael Jumper
*/
public class PasswordPolicyService {

View File

@@ -23,8 +23,6 @@ package org.apache.guacamole.auth.jdbc.security;
* Thrown when an attempt is made to set a user's password to a string which
* contains no numeric characters (digits), in violation of the defined password
* policy.
*
* @author Michael Jumper
*/
public class PasswordRequiresDigitException extends PasswordPolicyException {

View File

@@ -23,8 +23,6 @@ package org.apache.guacamole.auth.jdbc.security;
* Thrown when an attempt is made to set a user's password to a string which
* does not contain both uppercase and lowercase characters, in violation of the
* defined password policy.
*
* @author Michael Jumper
*/
public class PasswordRequiresMultipleCaseException extends PasswordPolicyException {

View File

@@ -23,8 +23,6 @@ package org.apache.guacamole.auth.jdbc.security;
* Thrown when an attempt is made to set a user's password to a string which
* contains no non-alphanumeric characters (symbols), in violation of the
* defined password policy.
*
* @author Michael Jumper
*/
public class PasswordRequiresSymbolException extends PasswordPolicyException {

View File

@@ -25,8 +25,6 @@ import org.apache.guacamole.language.TranslatableMessage;
/**
* Thrown when an attempt is made to reuse a previous password, in violation of
* the defined password policy.
*
* @author Michael Jumper
*/
public class PasswordReusedException extends PasswordPolicyException {

View File

@@ -26,8 +26,6 @@ import org.apache.guacamole.language.TranslatableMessage;
* Thrown when an attempt is made to set a user's password before sufficient
* time has elapsed since the password was last reset, in violation of the
* defined password policy.
*
* @author Michael Jumper
*/
public class PasswordTooYoungException extends PasswordPolicyException {

View File

@@ -25,8 +25,8 @@ import java.security.NoSuchAlgorithmException;
import javax.xml.bind.DatatypeConverter;
/**
* Provides a SHA-256 based implementation of the password encryption functionality.
* @author James Muehlner
* Provides a SHA-256 based implementation of the password encryption
* functionality.
*/
public class SHA256PasswordEncryptionService implements PasswordEncryptionService {

View File

@@ -21,7 +21,6 @@ package org.apache.guacamole.auth.jdbc.security;
/**
* A service to generate password salts.
* @author James Muehlner
*/
public interface SaltService {
/**

View File

@@ -24,7 +24,6 @@ import java.security.SecureRandom;
/**
* Generates password salts via SecureRandom.
* @author James Muehlner
*/
public class SecureRandomSaltService implements SaltService {

View File

@@ -38,8 +38,6 @@ import org.apache.guacamole.net.auth.credentials.UserCredentials;
/**
* Service which provides convenience methods for sharing active connections.
*
* @author Michael Jumper
*/
public class ConnectionSharingService {

View File

@@ -25,8 +25,6 @@ import org.apache.guacamole.auth.jdbc.sharing.connection.SharedConnectionDefinit
/**
* A HashMap-based implementation of the SharedConnectionMap.
*
* @author Michael Jumper
*/
public class HashSharedConnectionMap implements SharedConnectionMap {

View File

@@ -24,8 +24,6 @@ import java.security.SecureRandom;
/**
* An implementation of the ShareKeyGenerator which uses SecureRandom to
* generate cryptographically-secure random sharing keys.
*
* @author Michael Jumper
*/
public class SecureRandomShareKeyGenerator extends SecureRandom
implements ShareKeyGenerator {

View File

@@ -22,8 +22,6 @@ package org.apache.guacamole.auth.jdbc.sharing;
/**
* Produces unique keys that can be safely used for the automatically-generated
* "sharing credentials" associated with a shared connection.
*
* @author Michael Jumper
*/
public interface ShareKeyGenerator {

View File

@@ -37,8 +37,6 @@ import org.apache.guacamole.net.auth.credentials.GuacamoleInvalidCredentialsExce
* creation of corresponding UserContexts. The created UserContext objects are
* restricted to the connections associated with those share keys via a common
* ConnectionSharingService.
*
* @author Michael Jumper
*/
public class SharedAuthenticationProviderService implements AuthenticationProviderService {

View File

@@ -24,8 +24,6 @@ import org.apache.guacamole.auth.jdbc.sharing.connection.SharedConnectionDefinit
/**
* Represents a mapping between share keys and the Guacamole connection being
* shared.
*
* @author Michael Jumper
*/
public interface SharedConnectionMap {

View File

@@ -31,7 +31,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
* to register new objects after the SharedObjectManager has been invalidated
* will cause the provided object to be immediately cleaned up.
*
* @author Michael Jumper
* @param <T>
* The type of object managed by this SharedObjectManager.
*/

View File

@@ -37,8 +37,6 @@ import org.apache.guacamole.protocol.GuacamoleConfiguration;
/**
* A Connection which joins an active connection, limited by restrictions
* defined by a sharing profile.
*
* @author Michael Jumper
*/
public class SharedConnection implements Connection {

View File

@@ -32,8 +32,6 @@ import org.slf4j.LoggerFactory;
* active connection with a sharing profile. The sharing profile defines the
* access provided to users of the shared active connection through its
* connection parameters.
*
* @author Michael Jumper
*/
public class SharedConnectionDefinition {

View File

@@ -38,8 +38,6 @@ import org.apache.guacamole.net.auth.Directory;
* A Directory implementation which exposes an explicitly-registered set of
* share keys as connections. Only explicitly-registered share keys are
* accessible a SharedConnectionDirectory.
*
* @author Michael Jumper
*/
public class SharedConnectionDirectory implements Directory<Connection> {

View File

@@ -37,8 +37,6 @@ import org.apache.guacamole.protocol.GuacamoleClientInformation;
* is statically defined, and all Connections which are intended to be contained
* within an instance of SharedRootConnectionGroup MUST return that identifier
* via getParentIdentifier().
*
* @author Michael Jumper
*/
public class SharedRootConnectionGroup implements ConnectionGroup {

View File

@@ -28,8 +28,6 @@ import org.apache.guacamole.net.auth.simple.SimpleObjectPermissionSet;
/**
* An immutable ObjectPermissionSet which defines only READ permissions for a
* fixed set of identifiers.
*
* @author Michael Jumper
*/
public class SharedObjectPermissionSet extends SimpleObjectPermissionSet {

Some files were not shown because too many files have changed in this diff Show More