diff --git a/api/pom.xml b/api/pom.xml
index 141d706..3892f2a 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -20,4 +20,6 @@
${revision}
org.eclipse.daanse.xmla.api
+ Daanse XMLA API
+ Core API interfaces and data structures for XML for Analysis (XMLA) protocol implementation. This module defines the fundamental contracts and types used for XMLA communication between clients and OLAP servers.
diff --git a/client/pom.xml b/client/pom.xml
index b0b969d..861535d 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -21,6 +21,8 @@
org.eclipse.daanse.xmla.client
pom
+ Daanse XMLA Client
+ Parent module for XMLA client implementations. Contains client-side components for communicating with XMLA servers, including SOAP message handling and web service client utilities.
soapmessage
diff --git a/client/soapmessage/pom.xml b/client/soapmessage/pom.xml
index 4956a4f..e9e9cca 100644
--- a/client/soapmessage/pom.xml
+++ b/client/soapmessage/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.client.soapmessage
+ Daanse XMLA Client SOAP Message
+ SOAP message-based XMLA client implementation. Provides SOAP message handling, serialization, and communication capabilities for connecting to XMLA servers using web service protocols.
diff --git a/model.jakarta.xml.bind.xmla/pom.xml b/model.jakarta.xml.bind.xmla/pom.xml
index 39084b5..b19e751 100644
--- a/model.jakarta.xml.bind.xmla/pom.xml
+++ b/model.jakarta.xml.bind.xmla/pom.xml
@@ -21,6 +21,8 @@
../pom.xml
org.eclipse.daanse.xmla.model.jakarta.xml.bind.xmla
+ Daanse XMLA Jakarta XML Bind Model
+ Jakarta XML Binding (JAXB) model for XMLA protocol. Provides JAXB-annotated classes and XML binding support for XMLA request/response structures and data types.
org.osgi
diff --git a/model.jakarta.xml.bind.xsd/pom.xml b/model.jakarta.xml.bind.xsd/pom.xml
index 6a7a2e1..de7b589 100644
--- a/model.jakarta.xml.bind.xsd/pom.xml
+++ b/model.jakarta.xml.bind.xsd/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.model.jakarta.xml.bind.xsd
+ Daanse XMLA Jakarta XML Bind XSD Model
+ XSD-based Jakarta XML Binding model for XMLA protocol. Generates JAXB classes from XML Schema definitions, providing strongly-typed Java representations of XMLA data structures and protocol elements.
jakarta.xml.bind
diff --git a/model.record/pom.xml b/model.record/pom.xml
index e5caf00..a30b4b5 100644
--- a/model.record/pom.xml
+++ b/model.record/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.model.record
+ Daanse XMLA Record Model
+ Record-based model implementation for XMLA protocol. Provides Java record classes for XMLA data structures, offering immutable and efficient representations of XMLA requests and responses.
diff --git a/pom.xml b/pom.xml
index bb11332..3c630b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,8 @@
org.eclipse.daanse.xmla
${revision}
pom
+ Eclipse Daanse XMLA Protocol API and Implementation
+ Complete XMLA (XML for Analysis) protocol implementation providing standardized web service interfaces for OLAP data access. Includes comprehensive API definitions, client libraries, server adapters with multiple transport mechanisms, and Jakarta XML bindings for seamless integration with multidimensional databases and business intelligence applications.
0.0.1-SNAPSHOT
diff --git a/server/adapter.soapmessage/pom.xml b/server/adapter.soapmessage/pom.xml
index 32f48f2..8dce373 100644
--- a/server/adapter.soapmessage/pom.xml
+++ b/server/adapter.soapmessage/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.adapter.soapmessage
+ Daanse XMLA Server SOAP Message Adapter
+ SOAP message adapter for XMLA server implementations. Provides conversion and adaptation layer between XMLA API calls and SOAP message format, handling serialization and protocol adaptation.
org.eclipse.daanse
diff --git a/server/authentication/pom.xml b/server/authentication/pom.xml
index 52bf9d8..756e4bc 100644
--- a/server/authentication/pom.xml
+++ b/server/authentication/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.authentication
+ Daanse XMLA Server Authentication
+ Authentication module for XMLA server. Provides security and authentication mechanisms for protecting XMLA endpoints, including servlet-based authentication and authorization support.
org.osgi
diff --git a/server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/AuthFilter.java b/server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/NameToRoleAuthFilter.java
similarity index 60%
rename from server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/AuthFilter.java
rename to server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/NameToRoleAuthFilter.java
index 20b0669..1843583 100644
--- a/server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/AuthFilter.java
+++ b/server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/NameToRoleAuthFilter.java
@@ -32,16 +32,7 @@
import static org.osgi.service.servlet.context.ServletContextHelper.REMOTE_USER;
@Component(scope = ServiceScope.SINGLETON)
-@HttpWhiteboardFilterPattern("/xmla3")
-public class AuthFilter implements Filter {
-
- public static final String ADMIN = "admin";
- public static final String USER1 = "user1";
- public static final String ROLE1 = "role1";
- public static final String USER2 = "user2";
- public static final String ROLE2 = "role2";
- public static final String USER3 = "user3";
- public static final String ROLE3 = "role3";
+public class NameToRoleAuthFilter implements Filter {
@Override
public void init(FilterConfig filterConfig) {
@@ -67,7 +58,6 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
protected boolean authenticated(HeaderMapRequestWrapper request) {
request.setAttribute(AUTHENTICATION_TYPE, HttpServletRequest.BASIC_AUTH);
- boolean success = false;
String authHeader = request.getHeader("Authorization");
if (authHeader != null) {
@@ -77,38 +67,9 @@ protected boolean authenticated(HeaderMapRequestWrapper request) {
String username = usernameAndPassword.substring(0, userNameIndex);
String password = usernameAndPassword.substring(userNameIndex + 1);
- success = (username.equals(ADMIN) && password.equals(ADMIN))
- || (username.equals(USER1) && password.equals(USER1))
- || (username.equals(USER2) && password.equals(USER2))
- || (username.equals(USER3) && password.equals(USER3));
-
- if (success) {
- switch (username) {
- case ADMIN:
- request.setAttribute(REMOTE_USER, ADMIN);
- request.setAttribute("ROLE", ADMIN);
- // request.addHeader("ROLE", ADMIN);
- request.addHeader("USER", ADMIN);
- break;
- case USER1:
- request.setAttribute(REMOTE_USER, USER1);
- request.addHeader("ROLE", ROLE1);
- request.addHeader("USER", USER1);
- break;
- case USER2:
- request.setAttribute(REMOTE_USER, USER2);
- request.addHeader("ROLE", ROLE2);
- request.addHeader("USER", USER2);
- break;
- case USER3:
- request.setAttribute(REMOTE_USER, USER3);
- request.addHeader("ROLE", ROLE3);
- request.addHeader("USER", USER3);
- break;
- }
- }
+ request.setAttribute(REMOTE_USER, username);
}
- return success;
+ return true;
}
@Override
diff --git a/server/jakarta.jws/pom.xml b/server/jakarta.jws/pom.xml
index 5a20057..2270c47 100644
--- a/server/jakarta.jws/pom.xml
+++ b/server/jakarta.jws/pom.xml
@@ -21,6 +21,8 @@
../pom.xml
org.eclipse.daanse.xmla.server.jakarta.jws
+ Daanse XMLA Server Jakarta JWS
+ Jakarta JWS (Java Web Services) implementation for XMLA server. Provides web service annotations and JWS-based endpoint implementations for exposing XMLA functionality as standard Java web services.
diff --git a/server/jakarta.saaj/pom.xml b/server/jakarta.saaj/pom.xml
index 73d27bc..82a6cc9 100644
--- a/server/jakarta.saaj/pom.xml
+++ b/server/jakarta.saaj/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.jakarta.saaj
+ Daanse XMLA Server Jakarta SAAJ Implementation
+ XMLA server implementation using Jakarta SOAP with Attachments API for Java (SAAJ). This module provides a servlet-based XMLA server that processes SOAP requests using the Jakarta EE SAAJ framework.
diff --git a/server/jakarta.saaj/src/main/java/org/eclipse/daanse/xmla/server/jakarta/saaj/impl/ServletOCD.java b/server/jakarta.saaj/src/main/java/org/eclipse/daanse/xmla/server/jakarta/saaj/impl/ServletOCD.java
index 8b03d6e..4cf57ce 100644
--- a/server/jakarta.saaj/src/main/java/org/eclipse/daanse/xmla/server/jakarta/saaj/impl/ServletOCD.java
+++ b/server/jakarta.saaj/src/main/java/org/eclipse/daanse/xmla/server/jakarta/saaj/impl/ServletOCD.java
@@ -1,3 +1,15 @@
+/*
+* Copyright (c) 2023 Contributors to the Eclipse Foundation.
+*
+* This program and the accompanying materials are made
+* available under the terms of the Eclipse Public License 2.0
+* which is available at https://www.eclipse.org/legal/epl-2.0/
+*
+* SPDX-License-Identifier: EPL-2.0
+*
+* Contributors:
+* SmartCity Jena - initial
+*/
package org.eclipse.daanse.xmla.server.jakarta.saaj.impl;
import org.eclipse.daanse.xmla.server.jakarta.saaj.api.Constants;
diff --git a/server/jakarta.xml.ws.provider.soapmessage/pom.xml b/server/jakarta.xml.ws.provider.soapmessage/pom.xml
index f003ea6..f697db2 100644
--- a/server/jakarta.xml.ws.provider.soapmessage/pom.xml
+++ b/server/jakarta.xml.ws.provider.soapmessage/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.jakarta.xml.ws.provider.soapmessage
+ Daanse XMLA Server Jakarta XML WS Provider SOAP Message
+ Jakarta XML Web Services provider with SOAP message support for XMLA server. Implements JAX-WS Provider interface for direct SOAP message handling and processing in XMLA server endpoints.
org.eclipse.daanse
diff --git a/server/jdk.httpserver/pom.xml b/server/jdk.httpserver/pom.xml
index c7c348e..ed55508 100644
--- a/server/jdk.httpserver/pom.xml
+++ b/server/jdk.httpserver/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.jdk.httpserver
+ Daanse XMLA Server JDK HTTP Server Implementation
+ XMLA server implementation using the built-in JDK HTTP server (com.sun.net.httpserver). This module provides a lightweight, standalone XMLA server without requiring external servlet containers or application servers.
diff --git a/server/pom.xml b/server/pom.xml
index 0413748..1915536 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server
+ Daanse XMLA Server Modules
+ Parent module for XMLA server implementations and related components. This aggregates various XMLA server technologies including Jakarta EE servlets, JDK HTTP server, and authentication mechanisms.
pom
tck
diff --git a/server/tck/pom.xml b/server/tck/pom.xml
index 50ddc63..83c5777 100644
--- a/server/tck/pom.xml
+++ b/server/tck/pom.xml
@@ -20,6 +20,8 @@
${revision}
org.eclipse.daanse.xmla.server.tck
+ Daanse XMLA Server TCK
+ Technology Compatibility Kit (TCK) for XMLA server implementations. Provides comprehensive test suites and compliance testing framework to validate XMLA server behavior and protocol conformance.
src/**/tck/**/*
diff --git a/server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/TestSetup.java b/server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/SaajTestSetup.java
similarity index 70%
rename from server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/TestSetup.java
rename to server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/SaajTestSetup.java
index abde4d5..7280e7a 100644
--- a/server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/TestSetup.java
+++ b/server/tck/src/main/java/org/eclipse/daanse/xmla/server/tck/SaajTestSetup.java
@@ -1,3 +1,16 @@
+/*
+* Copyright (c) 2023 Contributors to the Eclipse Foundation.
+*
+* This program and the accompanying materials are made
+* available under the terms of the Eclipse Public License 2.0
+* which is available at https://www.eclipse.org/legal/epl-2.0/
+*
+* SPDX-License-Identifier: EPL-2.0
+*
+* Contributors:
+* SmartCity Jena - initial
+* Stefan Bischof (bipolis.org) - initial
+*/
package org.eclipse.daanse.xmla.server.tck;
import java.io.IOException;
@@ -12,7 +25,7 @@
@Component(immediate = true)
@RequireConfigurationAdmin
-public class TestSetup {
+public class SaajTestSetup {
@Reference
ConfigurationAdmin ca;