Predix Access Control Service API

Service to enforce authentication and/or authorization of certain resources

License

License

GroupId

GroupId

com.ge.predix
ArtifactId

ArtifactId

acs-model
Last Version

Last Version

5.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Predix Access Control Service API
Service to enforce authentication and/or authorization of certain resources
Project Organization

Project Organization

GE Digital

Download acs-model

How to add to project

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

Dependencies

compile (9)

Group / Artifact Type Version
commons-lang : commons-lang jar 2.6
joda-time : joda-time jar 2.9.9
com.fasterxml.jackson.datatype : jackson-datatype-joda jar
org.springframework : spring-web jar
io.springfox : springfox-swagger2 jar 2.6.1
com.fasterxml.jackson.core : jackson-databind jar 2.6.7
com.fasterxml.jackson.core : jackson-core jar 2.6.7
com.fasterxml.jackson.core : jackson-annotations jar 2.6.7
io.springfox : springfox-swagger-ui jar 2.6.1

test (3)

Group / Artifact Type Version
org.hamcrest : hamcrest-all jar 1.3
org.testng : testng jar 6.9.10
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

Access Control Service (ACS)

For more information about Access Control Services, please read the following documentation: https://www.predix.io/docs#IGyNp2eM

LICENSE

This project is licensed under Apache v2.

How to run ACS locally

To run the service locally, go to service/ directory

source ./service/start-acs-public.sh

The ACS service requires a UAA (User Account and Authentication: https://github.com/cloudfoundry/uaa) service to manage OAuth clients and users used in conjunction with ACS. When running ACS locally, by default the service is configured to trust the local UAA. You can modify the environment variable ACS_DEFAULT_ISSUER_ID and UAA_CHECK_HEALTH_URL to correspond to your existing UAA.

How to run UAA locally

Clone the UAA repository from the following url and checkout the 3.2.1 branch.

git clone https://github.com/cloudfoundry/uaa.git
cd uaa
git checkout releases/3.2.1
./gradlew assemble -x javadoc
./gradlew run -x javadoc --info

Run ACS integration tests

The public profile starts UAA and ACS, runs the tests, then stops the ACS and UAA services.

source ./run-integration-tests.sh [-s <maven_settings_file>]
com.ge.predix

Predix

Your cloud platform for the Industrial Internet

Versions

Version
5.0.2
4.7.1