What maven artifacts version I use in my JBoss EAP 6 custom login module project?

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

We have a maven project and would like to add a custom login module to it, but we are not able to find which maven artifacts has the classes used in our project. What is the correct maven artifacts that should be used?

Resolution

Use picketbox artifact and adjust the version according to the JBoss EAP version you are using. For example, for JBoss EAP 6.4.0, use the following:

<!-- set picketbox dependencies according JBoss EAP components version. 4.1.1.Final is for JBoss EAP 6.4 -->
<dependencies>
    <dependency>
        <groupId>org.picketbox</groupId>
        <artifactId>picketbox-bare</artifactId>
        <version>4.1.1.Final</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Attached to this article you can find a very simple login module implementation maven project. To install it, follow the instructions from the article How to add a custom login module in JBoss EAP 6.

Root Cause

Picketbox is the JBoss EAP 6 security implementation.

Attachments

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.