Dropwizard JWT

JSON Web Token support in Dropwizard using the javax security annotations

License

License

Categories

Categories

DropWizard Container Microservices
GroupId

GroupId

com.richodemus.dropwizard-jwt
ArtifactId

ArtifactId

dropwizard-jwt
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Dropwizard JWT
JSON Web Token support in Dropwizard using the javax security annotations
Project URL

Project URL

https://github.com/RichoDemus/dropwizard-jwt
Source Code Management

Source Code Management

https://github.com/RichoDemus/dropwizard-jwt

Download dropwizard-jwt

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.21
javax.ws.rs : javax.ws.rs-api jar 2.0.1
javax.annotation : javax.annotation-api jar 1.3
javax.inject : javax.inject jar 1
com.auth0 : java-jwt jar 2.2.1
com.fasterxml.jackson.core : jackson-annotations jar 2.8.4
com.google.guava : guava jar 20.0

test (7)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.5.2
io.dropwizard : dropwizard-jersey jar 1.0.3
io.dropwizard : dropwizard-core jar 1.0.3
io.dropwizard : dropwizard-testing jar 1.0.3
javax.servlet : javax.servlet-api jar 3.1.0
org.glassfish.jersey.core : jersey-server jar 2.24

Project Modules

There are no modules declared in this project.

dropwizard-jwt

Maven Central
JSON Web Token support in Dropwizard using the javax security annotations

Using

Maven

<dependency>
  <groupId>com.richodemus.dropwizard-jwt</groupId>
  <artifactId>dropwizard-jwt</artifactId>
  <version>1.0.0</version>
</dependency>

Gradle

compile 'com.richodemus.dropwizard-jwt:dropwizard-jwt:1.0.0'

Examples

look at the examples, I'm to lazy to write doc right now :)

Development

Building

./gradlew

Running dependency vulnerability audit

./gradlew audit

Finding outdated dependencies

./gradlew dependencyUpdates

Signing and uploading

You'll need a gradle.properties with the following contents

signing.keyId=24875D73
signing.password=secret
signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg

ossrhUsername=your-jira-id
ossrhPassword=your-jira-password

and then run

./gradlew uploadArchives

Versions

Version
1.0.0