omnisecurity JASPIC Undertow

Extension for Undertow (JBoss WildFly) that activates JASPIC

License

License

Categories

Categories

Security Undertow Net Networking
GroupId

GroupId

org.omnifaces
ArtifactId

ArtifactId

omnifaces-security-jaspic-undertow
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

omnisecurity JASPIC Undertow
Extension for Undertow (JBoss WildFly) that activates JASPIC
Project URL

Project URL

http://omnisecurity.omnifaces.org
Project Organization

Project Organization

OmniFaces
Source Code Management

Source Code Management

https://github.com/omnifaces/omnisecurity-jaspic-undertow

Download omnifaces-security-jaspic-undertow

How to add to project

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

Dependencies

provided (3)

Group / Artifact Type Version
javax : javaee-api jar 7.0
io.undertow : undertow-servlet jar 1.2.9.Final
org.wildfly : wildfly-undertow jar 9.0.1.Final

Project Modules

There are no modules declared in this project.

omnisecurity-jaspic-undertow

Extension for Undertow that activates JASPIC

This can be used to activate JASPIC on Undertow (JBoss WildFly) from within an application. To do so compile this project as a jar and put it on the class path of the application in question.

For Maven projects, alternatively the following can be added to pom.xml as well:

<dependency>
    <groupId>org.omnifaces</groupId>
    <artifactId>omnifaces-security-jaspic-undertow</artifactId>
    <version>10.0.0.Final-u1-SNAPSHOT</version>
</dependency>

Furthermore a dependency on an internal undertow package must be declared by creating a META-INF/jboss-deployment-structure.xml file within the application with at least the following content:

<?xml version='1.0' encoding='UTF-8'?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
	<deployment>
		<dependencies>
			<module name="org.wildfly.extension.undertow" services="export" export="true" />
		</dependencies>
	</deployment>
</jboss-deployment-structure>

Note this is somewhat of a hack, but needed for JBoss WildFly 9.0.1. WildFly 10.0.0.Final doesn't need this and just has to declare the jaspitest security domain.

The current version (10.0.0.Final-u1-SNAPSHOT) does work for WildFly 10.0.0.Final. Older versions of WildFly need a matching older version of this hack.

org.omnifaces

Versions

Version
1.0