Skip to content

Commit

Permalink
Merge pull request #305 from keilw/master
Browse files Browse the repository at this point in the history
Fixing #304
  • Loading branch information
arjantijms authored Dec 13, 2020
2 parents 4cb5454 + 18fc401 commit 438e370
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Soteria

Java EE Security (JSR 375) RI
Jakarta Security Compatible Implementation (CI)

[Website](https://eclipse-ee4j.github.io/soteria)

Expand All @@ -16,13 +16,13 @@ The API and combined API/implementation jars can then be found in /api and /impl
Sample applications
-------------------

In /test a number of sample applications are located that each demonstrate a specific feature of JSR 375. The folder is called
In /test a number of sample applications are located that each demonstrate a specific feature of Jakarta Security. The folder is called
/test since these double as integration tests.

The sample applications are build when the main build as shown above is executed. By default these applications are build for a
target server that is *not* assumed to already provide a JSR 375 implementation (like a Java EE 8 server would). In that case the Soteria jars are included in the application archive.
target server that is *not* assumed to already provide a Jakarta Security implementation (like a compatible Jakarta EE server would). In that case the Soteria jars are included in the application archive.

Alternatively the sample applications can be build for a server that does provide a JSR 375 implementation. In that case the Soteria jars are not included in the application archive. This can be done using the ``provided`` profile as follows:
Alternatively the sample applications can be build for a server that does provide a Jakarta Security implementation. In that case the Soteria jars are not included in the application archive. This can be done using the ``provided`` profile as follows:

``mvn clean package -Pprovided``

Expand All @@ -43,7 +43,6 @@ Testing against glassfish (which provides soteria integration):
Compatibility
-------------

Soteria currently fully runs on Payara 4.1.1.161, JBoss WildFly 10 and TomEE 7.0.2-SNAPSHOT from 12-10 (with Tomcat 8.5.6). It runs mostly on Liberty 16.0.0.3/2016.9, TomEE 7.0.1 and GlassFish 4.1.1. "Mostly" means here that some features don't work because of bugs in the servers. For instance on Liberty 16.0.0.3 `request.authenticate` isn't supported. These bugs are likely going to be fixed in newer versions.

Soteria does not run at all on WebLogic 12.2.1 due to a problem with server authentication modules working at all.
Soteria currently runs fully on any of these [Jakarta EE Compatible Products](https://jakarta.ee/compatibility/).

It runs mostly on TomEE 8.0.5 or above. "Mostly" means here that some features don't work because of bugs in the servers. These bugs are likely going to be fixed in newer versions.
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<artifactId>jakarta.security.enterprise</artifactId>

<name>Soteria ${project.version}</name>
<description>EE4J Compatible Implementation for Java EE Security API</description>
<description>Compatible Implementation for Jakarta Security API</description>

<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public List<String> getMappedRolesFromPrincipals(Iterable<Principal> principals)
}

if (isLiberty) {
// Liberty is the only known Java EE server that doesn't put the groups in
// Liberty is the only known Jakarta EE server that doesn't put the groups in
// the principals collection, but puts them in the credentials of a Subject.
// This somewhat peculiar decision means a JACC provider never gets to see
// groups via the principals that are passed in and must get them from
Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<profiles>
<!--
This profile assumes a target that already has the Soteria libraries.
In Java EE 8 that would be the default. E.g. in the case of GlassFish/Payara
In Jakarta EE 9 that would be the default. E.g. in the case of GlassFish/Payara
a jakarta.security.enterprise.jar in [gf_home]/glassfish/modules
-->
<profile>
Expand Down

0 comments on commit 438e370

Please sign in to comment.