Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(agama): update setup to include agama #1449

Closed
jgomer2001 opened this issue May 25, 2022 · 1 comment
Closed

feat(agama): update setup to include agama #1449

jgomer2001 opened this issue May 25, 2022 · 1 comment
Assignees
Labels
kind-feature Issue or PR is a new feature request

Comments

@jgomer2001
Copy link
Contributor

jgomer2001 commented May 25, 2022

To add agama the folowing is needed:

  1. Include Agama script (disabled by default)
dn: inum=BADA-BADA,ou=scripts,o=jans
objectClass: jansCustomScr
objectClass: top
description: Agama Script
displayName: agama
inum: BADA-BADA
jansConfProperty: {"value1":"cust_param_name","value2":"customParam1","hide":false,"description":""}
jansEnabled: false
jansLevel: 10
jansModuleProperty: {"value1":"usage_type","value2":"interactive","description":""}
jansModuleProperty: {"value1":"location_type","value2":"ldap","description": ""}
jansProgLng: python
jansRevision: 1
jansScrTyp: person_authentication

The source code (jansScr attribute) is already here

  1. Create agama tree (this is used to hold the definition of flows plus the state of flows currently running)
dn: ou=agama,o=jans
objectClass: organizationalUnit
objectClass: top
ou: agama

dn: ou=runs,ou=agama,o=jans
objectClass: organizationalUnit
objectClass: top
ou: runs

dn: ou=flows,ou=agama,o=jans
objectClass: organizationalUnit
objectClass: top
ou: flows
  1. Setup agama folder

Under /opt/jans/jetty/jans-auth create the following directory structure:

agama
  +-- fl
  +-- ftl
  +-- scripts

So by now, there will be 3 empty subdirectories. Also transfer to agama directory these files. Feel free to move them to a place you consider appropriate. They will rarely change

  1. Copy xml descriptor

This file should go under /opt/jans/jetty/jans-auth/webapps

@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label May 25, 2022
@devrimyatar
Copy link
Contributor

Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

3 participants