GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — server/dist/src/docker at develop · authzforce/server

Expand file tree

/

docker

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

docker

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
release.sh
release.sh
 
 

README.md

Outline

AuthzForce Server CE - Minimal Docker image

This image of a minimal AuthzForce Server runtime is intended to work together with Identity Manager - Keyrock and PEP Proxy Wilma generic enabler.

Image contents

  • OpenJDK JRE 17 (since AuthzForce Server v12.0.0);
  • Tomcat 10 (since AuthzForce Server v12.0.0);
  • AuthzForce Server CE (version matching the Docker image tag).

Usage

This image gives you a minimal installation for testing purposes. The AuthzForce Installation and Administration guide on readthedocs.org (select the version matching the Docker image tag, then AuthzForce - Installation and Administration Guide) provides you a better approach for using it in a production environment. This installation guide also gives instructions to install from .deb package (instead of Docker), which is the recommended way for Ubuntu hosts.

Create a container using authzforce/server image by doing (replace the first 8080 after -p with whatever network port you want to use on the host to access the AuthzForce Server, e.g. 80; and release-12.0.1 with the current Docker image tag that you are using):

docker run -d -p 8080:8080 --name <container-name> authzforce/server

As stands in the AuthzForce Installation and administration guide on readthedocs.org (select the version matching the Docker image tag, then AuthzForce - Installation and Administration Guide) you can:

  • Get the API description (WADL)

This is good way to test the app is up and running.

$ curl --verbose http://<authzforce-container-ip>:8080/authzforce-ce/?_wadl
  • List domains

Should return an empty list initially.

$ curl --verbose --show-error --write-out '\n' http://<authzforce-container-ip>:8080/authzforce-ce/domains
  • Create a domain
$ curl --request POST \
--header "Accept: application/xml" \
--header "Content-Type: application/xml;charset=UTF-8" \
--data '<?xml version="1.0" encoding="UTF-8"?><taz:domainProperties xmlns:taz="http://authzforce.github.io/rest-api-model/xmlns/authz/5" />' \
 http://<authzforce-container-ip>:8080/authzforce-ce/domains
  • Retrieve the domain ID
$ curl -s --request GET http://<authzforce-container-ip>:8080/authzforce-ce/domains
  • Domain removal
$ curl --verbose --request DELETE \
--header "Content-Type: application/xml;charset=UTF-8" \
--header "Accept: application/xml" \
http://<authzforce-container-ip>:8080/authzforce-ce/domains/<domain-id>
  • User and Role Management Setup && Domain Role Assignment

These tasks are now delegated to the Identity Manager - Keyrock enabler. Here you can find how to use the interface for that purpose: How to manage AuthzForce in Fiware.

  • Other operations

For other operations, see the Administration, and User and Programmers guides on readthedocs.org (select the version matching the Docker image tag, then AuthzForce - Installation and Administration Guide or User and Programmers Guide).

Issues

If you find any issue with this image, feel free to report at Github issue tracking system.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.