This is an automated email from the ASF dual-hosted git repository.
jmuehlner pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/guacamole-client.git
from 0af17df71 GUACAMOLE-1628: Merge changes adding unzip tool required by
LOGBACK_LEVEL.
add 417587259 GUACAMOLE-1224: Add CRUD-type events for Directory
modifications.
add 79a1bcb2a GUACAMOLE-1224: Extract getName() / setName() into common
Nameable interface.
add 9bda1b2c1 GUACAMOLE-1224: Add a default, global event listener
providing logging.
add 8c36eaf55 GUACAMOLE-1224: Add events for overall webapp
startup/shutdown.
add 63de886e5 GUACAMOLE-1224: Ensure all user sessions are explicitly
invalidated prior to application shutdown.
add b3319b817 GUACAMOLE-1224: Add user session invalidation/logout event.
add 818471ac8 GUACAMOLE-1224: Migrate existing auth-related logging to
global event listener.
add e5761551e GUACAMOLE-1224: Log identifiers of extensions reporting
authentication failures.
add 93e742246 GUACAMOLE-1224: Extract base interface for events affecting
objects stored in a Directory.
add 9b7982a7f GUACAMOLE-1224: Clarify context of
getAuthenticationProvider() for DirectoryObjectEvents.
add a0a5335c4 GUACAMOLE-1224: Further clarify DirectoryObjectEvent,
renaming to IdentifiableObjectEvent.
add 606c7bd55 GUACAMOLE-1224: Improve readability of JavaDoc by shortening
text of hyperlinked enum values.
add 36b5842d4 GUACAMOLE-1224: Log user password updates.
add f43b11981 GUACAMOLE-1224: Log receipt of authentication requests at
trace level.
add 89433ee3c GUACAMOLE-1224: Log extension sources of objects affected by
REST API.
new 882cb5ea4 GUACAMOLE-1224: Merge updated event handling and global
logging improvements.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../InMemoryAuthenticationFailureTracker.java | 37 +--
.../org/apache/guacamole/net/auth/Connection.java | 15 +-
.../apache/guacamole/net/auth/ConnectionGroup.java | 15 +-
.../org/apache/guacamole/net/auth/Credentials.java | 32 +++
.../org/apache/guacamole/net/auth/Directory.java | 98 ++++++++
.../{ReadableAttributes.java => Nameable.java} | 26 ++-
.../apache/guacamole/net/auth/SharingProfile.java | 18 +-
...derEvent.java => ApplicationShutdownEvent.java} | 24 +-
...kage-info.java => ApplicationStartedEvent.java} | 16 +-
.../net/event/AuthenticationSuccessEvent.java | 49 +++-
.../apache/guacamole/net/event/DirectoryEvent.java | 104 +++++++++
...TunnelEvent.java => DirectoryFailureEvent.java} | 21 +-
...TunnelEvent.java => DirectorySuccessEvent.java} | 20 +-
.../net/event/IdentifiableObjectEvent.java | 80 +++++++
.../net/event/UserSessionInvalidatedEvent.java | 8 +-
.../apache/guacamole/net/auth/DirectoryTest.java | 124 +++++++++++
.../guacamole/GuacamoleServletContextListener.java | 43 +++-
.../org/apache/guacamole/GuacamoleSession.java | 37 ++-
.../org/apache/guacamole/event/AffectedObject.java | 129 +++++++++++
.../guacamole/event/EventLoggingListener.java | 248 +++++++++++++++++++++
.../{EnvironmentModule.java => event/Failure.java} | 37 +--
.../org/apache/guacamole/event/LoggableDetail.java | 25 +--
.../org/apache/guacamole/event/RemoteAddress.java | 95 ++++++++
.../org/apache/guacamole/event/RequestingUser.java | 59 +++++
.../guacamole/extension/ExtensionModule.java | 4 +-
.../ActiveConnectionDirectoryResource.java | 10 +-
.../activeconnection/ActiveConnectionResource.java | 29 +--
.../guacamole/rest/auth/AuthenticationService.java | 87 +-------
.../guacamole/rest/auth/HashTokenSessionMap.java | 6 +
.../connection/ConnectionDirectoryResource.java | 10 +-
.../rest/connection/ConnectionResource.java | 33 ++-
.../ConnectionGroupDirectoryResource.java | 34 +--
.../connectiongroup/ConnectionGroupResource.java | 27 +--
.../rest/directory/DirectoryObjectResource.java | 198 +++++++++++++++-
.../directory/DirectoryObjectResourceFactory.java | 8 +-
.../rest/directory/DirectoryResource.java | 244 +++++++++++++++++++-
.../rest/directory/DirectoryResourceFactory.java | 7 +-
.../guacamole/rest/session/SessionResource.java | 2 +-
.../rest/session/UserContextResource.java | 39 ++--
.../rest/session/UserContextResourceFactory.java | 7 +-
.../SharingProfileDirectoryResource.java | 10 +-
.../sharingprofile/SharingProfileResource.java | 26 +--
.../rest/tunnel/TunnelCollectionResource.java | 2 +-
.../guacamole/rest/tunnel/TunnelResource.java | 15 +-
.../rest/tunnel/TunnelResourceFactory.java | 6 +-
.../guacamole/rest/user/UserDirectoryResource.java | 9 +-
.../apache/guacamole/rest/user/UserResource.java | 73 +++---
.../rest/usergroup/UserGroupDirectoryResource.java | 10 +-
.../rest/usergroup/UserGroupResource.java | 23 +-
49 files changed, 1829 insertions(+), 450 deletions(-)
copy
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/{ReadableAttributes.java
=> Nameable.java} (62%)
copy
guacamole-ext/src/main/java/org/apache/guacamole/net/event/{AuthenticationProviderEvent.java
=> ApplicationShutdownEvent.java} (58%)
copy
guacamole-ext/src/main/java/org/apache/guacamole/net/event/{package-info.java
=> ApplicationStartedEvent.java} (71%)
create mode 100644
guacamole-ext/src/main/java/org/apache/guacamole/net/event/DirectoryEvent.java
copy
guacamole-ext/src/main/java/org/apache/guacamole/net/event/{TunnelEvent.java =>
DirectoryFailureEvent.java} (62%)
copy
guacamole-ext/src/main/java/org/apache/guacamole/net/event/{TunnelEvent.java =>
DirectorySuccessEvent.java} (66%)
create mode 100644
guacamole-ext/src/main/java/org/apache/guacamole/net/event/IdentifiableObjectEvent.java
copy
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/permission/ConnectionPermissionMapper.java
=>
guacamole-ext/src/main/java/org/apache/guacamole/net/event/UserSessionInvalidatedEvent.java
(80%)
create mode 100644
guacamole-ext/src/test/java/org/apache/guacamole/net/auth/DirectoryTest.java
create mode 100644
guacamole/src/main/java/org/apache/guacamole/event/AffectedObject.java
create mode 100644
guacamole/src/main/java/org/apache/guacamole/event/EventLoggingListener.java
copy guacamole/src/main/java/org/apache/guacamole/{EnvironmentModule.java =>
event/Failure.java} (55%)
copy
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/security/SecureRandomSaltService.java
=> guacamole/src/main/java/org/apache/guacamole/event/LoggableDetail.java (63%)
create mode 100644
guacamole/src/main/java/org/apache/guacamole/event/RemoteAddress.java
create mode 100644
guacamole/src/main/java/org/apache/guacamole/event/RequestingUser.java