Soteria SPI : Bean Decorator

Security Soteria - the Reference Implementation of JSR 375

License

License

Categories

Categories

GlassFish Container Application Servers
GroupId

GroupId

org.glassfish.soteria
ArtifactId

ArtifactId

spi-bean-decorator
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

pom
Description

Description

Soteria SPI : Bean Decorator
Security Soteria - the Reference Implementation of JSR 375
Project URL

Project URL

https://projects.eclipse.org/projects/ee4j/spi-bean-decorator
Project Organization

Project Organization

Eclipse Foundation

Download spi-bean-decorator

How to add to project

<!-- https://jarcasting.com/artifacts/org.glassfish.soteria/spi-bean-decorator/ -->
<dependency>
    <groupId>org.glassfish.soteria</groupId>
    <artifactId>spi-bean-decorator</artifactId>
    <version>2.0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.glassfish.soteria/spi-bean-decorator/
implementation 'org.glassfish.soteria:spi-bean-decorator:2.0.1'
// https://jarcasting.com/artifacts/org.glassfish.soteria/spi-bean-decorator/
implementation ("org.glassfish.soteria:spi-bean-decorator:2.0.1")
'org.glassfish.soteria:spi-bean-decorator:pom:2.0.1'
<dependency org="org.glassfish.soteria" name="spi-bean-decorator" rev="2.0.1">
  <artifact name="spi-bean-decorator" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.glassfish.soteria', module='spi-bean-decorator', version='2.0.1')
)
libraryDependencies += "org.glassfish.soteria" % "spi-bean-decorator" % "2.0.1"
[org.glassfish.soteria/spi-bean-decorator "2.0.1"]

Dependencies

compile (4)

Group / Artifact Type Version
jakarta.security.enterprise : jakarta.security.enterprise-api jar 2.0.0
jakarta.annotation : jakarta.annotation-api jar 2.0.0
jakarta.ejb : jakarta.ejb-api jar 4.0.0
jakarta.xml.bind : jakarta.xml.bind-api jar 3.0.0

provided (6)

Group / Artifact Type Version
jakarta.servlet : jakarta.servlet-api jar 5.0.0
jakarta.interceptor : jakarta.interceptor-api jar 2.0.0
jakarta.el : jakarta.el-api jar 4.0.0
jakarta.enterprise : jakarta.enterprise.cdi-api jar 3.0.0
jakarta.authentication : jakarta.authentication-api jar 2.0.0
jakarta.authorization : jakarta.authorization-api jar 2.0.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

  • weld

Soteria

Jakarta Security Compatible Implementation (CI)

Website

Building

Soteria can be built by executing the following from the project root:

mvn clean package

The API and combined API/implementation jars can then be found in /api and /impl respectively.

Sample applications

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 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 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

There are 4 CI targets provided to test Soteria against:

  • payara
  • wildfly
  • tomee
  • openliberty

Testing against any of these is done by activating the maven profile with the same name. E.g.

mvn clean install -Ptomee,bundled

Testing against glassfish (which provides soteria integration): mvn clean verify -Pglassfish,provided

Compatibility

Soteria currently runs fully on any of these Jakarta EE Compatible Products.

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.

org.glassfish.soteria

Eclipse EE4J

The Eclipse EE4J Project

Versions

Version
2.0.1
2.0.0