org.glassfish.soteria.test:common

Java.net - The Source for Java Technology Collaboration

License

License

Categories

Categories

GlassFish Container Application Servers
GroupId

GroupId

org.glassfish.soteria.test
ArtifactId

ArtifactId

common
Last Version

Last Version

1.0-b07
Release Date

Release Date

Type

Type

jar
Description

Description

Java.net - The Source for Java Technology Collaboration

Download common

How to add to project

<!-- https://jarcasting.com/artifacts/org.glassfish.soteria.test/common/ -->
<dependency>
    <groupId>org.glassfish.soteria.test</groupId>
    <artifactId>common</artifactId>
    <version>1.0-b07</version>
</dependency>
// https://jarcasting.com/artifacts/org.glassfish.soteria.test/common/
implementation 'org.glassfish.soteria.test:common:1.0-b07'
// https://jarcasting.com/artifacts/org.glassfish.soteria.test/common/
implementation ("org.glassfish.soteria.test:common:1.0-b07")
'org.glassfish.soteria.test:common:jar:1.0-b07'
<dependency org="org.glassfish.soteria.test" name="common" rev="1.0-b07">
  <artifact name="common" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.glassfish.soteria.test', module='common', version='1.0-b07')
)
libraryDependencies += "org.glassfish.soteria.test" % "common" % "1.0-b07"
[org.glassfish.soteria.test/common "1.0-b07"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jsoup : jsoup jar 1.9.2

provided (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.jboss.arquillian.junit : arquillian-junit-container jar
net.sourceforge.htmlunit : htmlunit jar 2.23
javax : javaee-api jar 7.0

Project Modules

There are no modules declared in this project.

⚠️ This project is now part of the EE4J initiative. This repository has been archived as all activities are now happening in the corresponding Eclipse repository. See here for the overall EE4J transition status.


Soteria

Build Status

Java EE Security (JSR 375) RI

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 JSR 375. 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.

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:

mvn clean package -Pprovided

There are 4 CI targets provided to test Soteria against:

  • payara
  • wildfly
  • tomee

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

org.glassfish.soteria.test

Java EE Security API JSR 375

The public repository for JSR 375.

Versions

Version
1.0-b07