ActiveMix - JAAS Token

JAAS LoginModule using tokens

License

License

Categories

Categories

JAAS: Jakarta Authentication & Jakarta Authorization Jakarta EE Jakarta Security
GroupId

GroupId

org.apifocal.activemix.jaas
ArtifactId

ArtifactId

activemix-auth-token
Last Version

Last Version

1.0.0.rc1
Release Date

Release Date

Type

Type

jar
Description

Description

ActiveMix - JAAS Token
JAAS LoginModule using tokens
Project Organization

Project Organization

apifocal

Download activemix-auth-token

How to add to project

<!-- https://jarcasting.com/artifacts/org.apifocal.activemix.jaas/activemix-auth-token/ -->
<dependency>
    <groupId>org.apifocal.activemix.jaas</groupId>
    <artifactId>activemix-auth-token</artifactId>
    <version>1.0.0.rc1</version>
</dependency>
// https://jarcasting.com/artifacts/org.apifocal.activemix.jaas/activemix-auth-token/
implementation 'org.apifocal.activemix.jaas:activemix-auth-token:1.0.0.rc1'
// https://jarcasting.com/artifacts/org.apifocal.activemix.jaas/activemix-auth-token/
implementation ("org.apifocal.activemix.jaas:activemix-auth-token:1.0.0.rc1")
'org.apifocal.activemix.jaas:activemix-auth-token:jar:1.0.0.rc1'
<dependency org="org.apifocal.activemix.jaas" name="activemix-auth-token" rev="1.0.0.rc1">
  <artifact name="activemix-auth-token" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.apifocal.activemix.jaas', module='activemix-auth-token', version='1.0.0.rc1')
)
libraryDependencies += "org.apifocal.activemix.jaas" % "activemix-auth-token" % "1.0.0.rc1"
[org.apifocal.activemix.jaas/activemix-auth-token "1.0.0.rc1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.activemq : activemq-jaas jar 5.15.12
com.google.guava : guava jar 28.2-jre
com.nimbusds : nimbus-jose-jwt jar 8.11
org.bouncycastle : bcprov-jdk15on jar [1.52,)
org.bouncycastle : bcpkix-jdk15on jar [1.52,)

test (3)

Group / Artifact Type Version
junit : junit jar 4.13
org.apache.activemq : activemq-client jar 5.15.12
org.apache.logging.log4j : log4j-slf4j-impl jar 2.13.1

Project Modules

There are no modules declared in this project.

activemix

Governance Tools for Messaging Systems based on Apache ActiveMQ 5.x

Security

ActiveMQ security tests use the common naming convention for security personas.

NOTE:

Using JWT

Generate a SSH KeyPair as below. One could use a passphrase to protect the private key, but the TokenLoginModule only supports unprotected private keys (empty passphrase) for now. Tests that use password protected keys should use the Carol user that, in our convention, always uses protected keys and the password is 'secret'.

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/hadrian/.ssh/id_rsa): ./id_rsa-carol
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in ./id_rsa-carol.
Your public key has been saved in ./id_rsa-carol.pub.
The key fingerprint is:
SHA256:jnbnEbeCyhrf1PYTpu8VAfCviEcD+T8a7sI36zpfDzQ [email protected]
The key's randomart image is:
+---[RSA 4096]----+
|          ...    |
|         . . .   |
|        o   . .  |
|         o   . . |
|        S = E o  |
|       o = Bo+ . |
|    . o.* XoB..  |
|     = =+*+B.=   |
|    ..+ oOO=+..  |
+----[SHA256]-----+

Generating Tokens

TBD

org.apifocal.activemix.jaas

Versions

Version
1.0.0.rc1