Skip to content

Commit 84e2ce7

Browse files
committed
add name and description maven pom.xml
Signed-off-by: Stefan Bischof <[email protected]>
1 parent 0f290ff commit 84e2ce7

File tree

18 files changed

+59
-43
lines changed

18 files changed

+59
-43
lines changed

api/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.api</artifactId>
23+
<name>Daanse XMLA API</name>
24+
<description>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.</description>
2325
</project>

client/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.client</artifactId>
2323
<packaging>pom</packaging>
24+
<name>Daanse XMLA Client</name>
25+
<description>Parent module for XMLA client implementations. Contains client-side components for communicating with XMLA servers, including SOAP message handling and web service client utilities.</description>
2426
<modules>
2527
<module>soapmessage</module>
2628
</modules>

client/soapmessage/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.client.soapmessage</artifactId>
23+
<name>Daanse XMLA Client SOAP Message</name>
24+
<description>SOAP message-based XMLA client implementation. Provides SOAP message handling, serialization, and communication capabilities for connecting to XMLA servers using web service protocols.</description>
2325

2426
<dependencies>
2527
<dependency>

model.jakarta.xml.bind.xmla/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>org.eclipse.daanse.xmla.model.jakarta.xml.bind.xmla</artifactId>
24+
<name>Daanse XMLA Jakarta XML Bind Model</name>
25+
<description>Jakarta XML Binding (JAXB) model for XMLA protocol. Provides JAXB-annotated classes and XML binding support for XMLA request/response structures and data types.</description>
2426
<dependencies>
2527
<dependency>
2628
<groupId>org.osgi</groupId>

model.jakarta.xml.bind.xsd/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.model.jakarta.xml.bind.xsd</artifactId>
23+
<name>Daanse XMLA Jakarta XML Bind XSD Model</name>
24+
<description>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.</description>
2325
<dependencies>
2426
<dependency>
2527
<groupId>jakarta.xml.bind</groupId>

model.record/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.model.record</artifactId>
23+
<name>Daanse XMLA Record Model</name>
24+
<description>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.</description>
2325

2426
<dependencies>
2527
<dependency>

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<artifactId>org.eclipse.daanse.xmla</artifactId>
2525
<version>${revision}</version>
2626
<packaging>pom</packaging>
27+
<name>Eclipse Daanse XMLA Protocol API and Implementation</name>
28+
<description>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.</description>
2729

2830
<properties>
2931
<revision>0.0.1-SNAPSHOT</revision>

server/adapter.soapmessage/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.server.adapter.soapmessage</artifactId>
23+
<name>Daanse XMLA Server SOAP Message Adapter</name>
24+
<description>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.</description>
2325
<dependencies>
2426
<dependency>
2527
<groupId>org.eclipse.daanse</groupId>

server/authentication/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<version>${revision}</version>
2121
</parent>
2222
<artifactId>org.eclipse.daanse.xmla.server.authentication</artifactId>
23+
<name>Daanse XMLA Server Authentication</name>
24+
<description>Authentication module for XMLA server. Provides security and authentication mechanisms for protecting XMLA endpoints, including servlet-based authentication and authorization support.</description>
2325
<dependencies>
2426
<dependency>
2527
<groupId>org.osgi</groupId>

server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/AuthFilter.java renamed to server/authentication/src/main/java/org/eclipse/daanse/xmla/server/authentication/NameToRoleAuthFilter.java

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,7 @@
3232
import static org.osgi.service.servlet.context.ServletContextHelper.REMOTE_USER;
3333

3434
@Component(scope = ServiceScope.SINGLETON)
35-
@HttpWhiteboardFilterPattern("/xmla3")
36-
public class AuthFilter implements Filter {
37-
38-
public static final String ADMIN = "admin";
39-
public static final String USER1 = "user1";
40-
public static final String ROLE1 = "role1";
41-
public static final String USER2 = "user2";
42-
public static final String ROLE2 = "role2";
43-
public static final String USER3 = "user3";
44-
public static final String ROLE3 = "role3";
35+
public class NameToRoleAuthFilter implements Filter {
4536

4637
@Override
4738
public void init(FilterConfig filterConfig) {
@@ -67,7 +58,6 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
6758

6859
protected boolean authenticated(HeaderMapRequestWrapper request) {
6960
request.setAttribute(AUTHENTICATION_TYPE, HttpServletRequest.BASIC_AUTH);
70-
boolean success = false;
7161
String authHeader = request.getHeader("Authorization");
7262

7363
if (authHeader != null) {
@@ -77,38 +67,9 @@ protected boolean authenticated(HeaderMapRequestWrapper request) {
7767
String username = usernameAndPassword.substring(0, userNameIndex);
7868
String password = usernameAndPassword.substring(userNameIndex + 1);
7969

80-
success = (username.equals(ADMIN) && password.equals(ADMIN))
81-
|| (username.equals(USER1) && password.equals(USER1))
82-
|| (username.equals(USER2) && password.equals(USER2))
83-
|| (username.equals(USER3) && password.equals(USER3));
84-
85-
if (success) {
86-
switch (username) {
87-
case ADMIN:
88-
request.setAttribute(REMOTE_USER, ADMIN);
89-
request.setAttribute("ROLE", ADMIN);
90-
// request.addHeader("ROLE", ADMIN);
91-
request.addHeader("USER", ADMIN);
92-
break;
93-
case USER1:
94-
request.setAttribute(REMOTE_USER, USER1);
95-
request.addHeader("ROLE", ROLE1);
96-
request.addHeader("USER", USER1);
97-
break;
98-
case USER2:
99-
request.setAttribute(REMOTE_USER, USER2);
100-
request.addHeader("ROLE", ROLE2);
101-
request.addHeader("USER", USER2);
102-
break;
103-
case USER3:
104-
request.setAttribute(REMOTE_USER, USER3);
105-
request.addHeader("ROLE", ROLE3);
106-
request.addHeader("USER", USER3);
107-
break;
108-
}
109-
}
70+
request.setAttribute(REMOTE_USER, username);
11071
}
111-
return success;
72+
return true;
11273
}
11374

11475
@Override

0 commit comments

Comments
 (0)