CloudBees JAX-RS Jersey authentication module

The CloudBees OSS Parent Project

License

License

GroupId

GroupId

com.cloudbees.cloud_resource
ArtifactId

ArtifactId

cloud-resource-commons-jaxrs-auth
Last Version

Last Version

2.1
Release Date

Release Date

Type

Type

jar
Description

Description

CloudBees JAX-RS Jersey authentication module
The CloudBees OSS Parent Project

Download cloud-resource-commons-jaxrs-auth

How to add to project

<!-- https://jarcasting.com/artifacts/com.cloudbees.cloud_resource/cloud-resource-commons-jaxrs-auth/ -->
<dependency>
    <groupId>com.cloudbees.cloud_resource</groupId>
    <artifactId>cloud-resource-commons-jaxrs-auth</artifactId>
    <version>2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.cloudbees.cloud_resource/cloud-resource-commons-jaxrs-auth/
implementation 'com.cloudbees.cloud_resource:cloud-resource-commons-jaxrs-auth:2.1'
// https://jarcasting.com/artifacts/com.cloudbees.cloud_resource/cloud-resource-commons-jaxrs-auth/
implementation ("com.cloudbees.cloud_resource:cloud-resource-commons-jaxrs-auth:2.1")
'com.cloudbees.cloud_resource:cloud-resource-commons-jaxrs-auth:jar:2.1'
<dependency org="com.cloudbees.cloud_resource" name="cloud-resource-commons-jaxrs-auth" rev="2.1">
  <artifact name="cloud-resource-commons-jaxrs-auth" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.cloudbees.cloud_resource', module='cloud-resource-commons-jaxrs-auth', version='2.1')
)
libraryDependencies += "com.cloudbees.cloud_resource" % "cloud-resource-commons-jaxrs-auth" % "2.1"
[com.cloudbees.cloud_resource/cloud-resource-commons-jaxrs-auth "2.1"]

Dependencies

compile (5)

Group / Artifact Type Version
com.cloudbees : cloudbees-api-client jar 1.5.7
com.google.inject : guice jar 3.0
com.sun.jersey.contribs : jersey-guice jar 1.17
org.slf4j : slf4j-api jar 1.6.1
com.cloudbees.cloud_resource : cloud-resource-commons jar 2.1

Project Modules

There are no modules declared in this project.

This is a Java client library to develop CloudBees Cloud Resources. For details on Cloud Resource, see the [Cloud Resource specification] (https://docs.google.com/document/d/1SjM36eXu4sy5HeTMzKouy1AWcBlJkBIPx2vmnflFacE/edit?usp=sharing)

This project currently has two modules:

  • core defines Jackson based serialization of common cloud resource types and mechanism to define and annotate custom cloud resource types as Java interfaces.
  • jaxrs-jpa defines additional code useful for building cloud resources on top of JAX-RS and JPA.
  • jaxrs-auth is useful to secure your JAX-RS rsource with CloudBees OAuth. See README for details.

Using the code

To use this library, add the following dependency to your Maven POM:

<dependency>
  <groupId>com.cloudbees.cloud_resource</groupId>
  <artifactId>cloud-resource-commons</artifactId>
  <version>...</version>
</dependency>

For using JAX-RS/JPA module, use the artifact ID cloud-resource-commons-jaxrs-jpa. For using CloudBees JAX-RS Oauth, use artifact ID cloud-resource-commons-jaxrs-auth.

com.cloudbees.cloud_resource

CloudBees Community

Versions

Version
2.1
2.0