-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: jans-linux-setup load agama test data (#2749)
* feat: jans-linux-setup load agama test data * feat: jans-linux-setup code smell * feat: jans-linux-setup enable agama flow for test data * fix: jans-linux-setup enable agama script for test data
- Loading branch information
1 parent
595d1aa
commit c368a02
Showing
4 changed files
with
275 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
236 changes: 236 additions & 0 deletions
236
jans-linux-setup/jans_setup/templates/test/agama/agama-test-data.ldif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
dn: inum=BADA-BADA,ou=clients,o=jans | ||
objectClass: jansClnt | ||
objectClass: top | ||
displayName: Agama tests client | ||
inum: BADA-BADA | ||
jansAccessTknSigAlg: RS256 | ||
jansAppTyp: web | ||
jansAttrs: {} | ||
jansGrantTyp: authorization_code | ||
jansIdTknSignedRespAlg: RS256 | ||
jansRedirectURI: https://%(hostname)s/.well-known/openid-configuration | ||
jansRespTyp: code | ||
jansScope: inum=F0C4,ou=scopes,o=jans | ||
jansSubjectTyp: pairwise | ||
jansTknEndpointAuthMethod: client_secret_basic | ||
|
||
|
||
dn: agFlowQname=io.jans.agama.test.auth.uidOnly,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_io_jans_agama_test_auth_uidOnly","inputs":["uid"], | ||
"timeout":null,"displayName":null,"author":"Jose","timestamp":1666000000000 | ||
,"description":null,"properties":null} | ||
agFlowQname: io.jans.agama.test.auth.uidOnly | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0yMFQxNDozOToxMloKZnVuY3Rpb24gX2 | ||
lvX2phbnNfYWdhbWFfdGVzdF9hdXRoX3VpZE9ubHkoCl9wCiAgICAsIHVpZAopIHsKY29uc3QgX | ||
2Jhc2VQYXRoID0gImhlbGxvIgpsZXQgX2l0ID0gbnVsbCwgX2l0MiA9IG51bGwKbGV0IGlkeCA9 | ||
IFtdLCBfaXRlbXMgPSBbXQp2YXIgX2luID0KIHsgbmFtZTogdWlkIH0KCiAgICAgICAgX2l0ID0 | ||
gX2luCgogICAgX2l0ID0gX3JlbmRlclJlcGx5RmV0Y2goX2Jhc2VQYXRoLCAiaW5kZXguZnRsaC | ||
IsIGZhbHNlLCBfaXQpCiAgICBfaXQyID0gSlNPTi5wYXJzZShfaXQuc2Vjb25kKQogICAgX2l0I | ||
D0gX2l0LmZpcnN0CiAgICBpZiAoIV9pc05pbChfaXQpKSByZXR1cm4gX2Fib3J0KF9pdCwgX2l0 | ||
MikKCiAgICAgX2l0MgogICAgX2l0ID0gX2l0MiA9IG51bGwKX2xvZyhbICJEb25lISIgXSkKICA | ||
gIF9pdCA9IHVpZApyZXR1cm4gX2ZpbmlzaChfaXQpCgp9Cgo= | ||
jansCustomMessage: a011dfa0a6839bd907bcbe7b45b50fd271f800658734c4883d342108e | ||
66454ded40932be9dea16bdbcc035063c57d39125eb4ee9cc4be32a521d24f7d5695aeb | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: Ly9UaGlzIGZsb3cgaXMgYmFzZWQgb24gdGhlICJoZWxsbyB3b3JsZCIgZmxvdyBmb3 | ||
VuZCBpbiBBZ2FtYSBkb2NzIChxdWljay1zdGFydCBxdWlkZSkKRmxvdyBpby5qYW5zLmFnYW1hL | ||
nRlc3QuYXV0aC51aWRPbmx5CiAgICBCYXNlcGF0aCAiaGVsbG8iCiAgICBJbnB1dHMgdWlkCgpp | ||
biA9IHsgbmFtZTogdWlkIH0KUlJGICJpbmRleC5mdGxoIiBpbgoKTG9nICJEb25lISIKRmluaXN | ||
oIHVpZAo= | ||
|
||
|
||
dn: agFlowQname=io.jans.agama.test.math,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_io_jans_agama_test_math","inputs":["numbers"],"tim | ||
eout":null,"displayName":null,"author":"Jose","timestamp":1666000000000,"de | ||
scription":null,"properties":null} | ||
agFlowQname: io.jans.agama.test.math | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0yNFQxNjo0NjowMloKZnVuY3Rpb24gX2 | ||
lvX2phbnNfYWdhbWFfdGVzdF9tYXRoKApfcAogICAgLCBudW1iZXJzCikgewpjb25zdCBfYmFzZ | ||
VBhdGggPSAiIgpsZXQgX2l0ID0gbnVsbCwgX2l0MiA9IG51bGwKbGV0IGlkeCA9IFtdLCBfaXRl | ||
bXMgPSBbXQoKICAgIHZhciBzbWFsbCA9CiBfYWN0aW9uQ2FsbCgKICAgICAgICBudWxsLCBmYWx | ||
zZSwgImphdmEudXRpbC5Db2xsZWN0aW9ucyIsICJtaW4iCiAgICAgICAgLCBbIG51bWJlcnMgXQ | ||
ogICAgKQoKX2xvZyhbICJtaW4gZWxlbWVudCBpcyIsIHNtYWxsIF0pCnZhciBzdHJpbmdzID0KI | ||
FsgXQpfaXQgPSBfaXRlcmFibGUobnVtYmVycywgIlZhcmlhYmxlIHRvIGl0ZXJhdGUgb3ZlciBp | ||
cyBub3QgbWFwLCBsaXN0LCBvciBzdHJpbmciKQoKX2l0ZW1zLnB1c2goX2l0KQppZHgucHVzaCg | ||
wKQpmb3IgKGxldCBfaXRlbSBvZiBfaXRlbXNbX2l0ZW1zLmxlbmd0aCAtIDFdKSB7CiAgICB2YX | ||
IgbiA9IF9pdGVtCnZhciBpID0KIHN0cmluZ3MubGVuZ3RoCgogICAgc3RyaW5nc1tfaWMoaSwgI | ||
m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3AoKQpfaXQgPSBpZHgucG9wKCkKCnZhciBrI | ||
D0KIF9pdAoKCmlmICggICAgCl9lcXVhbHMoaywgbnVtYmVycy5sZW5ndGgpCikgYnJlYWsKCiAg | ||
ICBpZHhbaWR4Lmxlbmd0aCAtIDFdKysKfQpfaXQgPSBpZHgucG9wKCkKCgppZiAoICAgIApfZXF | ||
1YWxzKGssIG51bWJlcnMubGVuZ3RoKQopIHsKX2xvZyhbICIlIGFyZSByZWxhdGl2ZSBwcmltZX | ||
MiLCBudW1iZXJzIF0pCn0KZWxzZSB7Cl9sb2coWyAiQWxsIG51bWJlcnMgY2FuIGJlIGRpdmlkZ | ||
WQgYnkiLCBkaXZpc29yIF0pCn0KICAgIF9pdCA9IHRydWUKcmV0dXJuIF9maW5pc2goX2l0KQoK | ||
fQoK | ||
jansCustomMessage: 406c099866160088c1f6e14cd64f934c700d0a69ffc7e304f1bd1ffe3 | ||
1b72b7a406f08f444ebcf5b70e9f1e7c334fe176ecc8c9145eb439d8411064e7e39de54 | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: Ly9UaGlzIGZsb3cgaXMgdXNlZCB0byB0ZXN0IHNvbWUgSmF2YSBjYWxscy4gSXQgZG | ||
9lcyBub3QgbWFrZSB1c2Ugb2YgaWRpb21hdGljIEFnYW1hLiBUaGVyZSBpcyBubyBVSSBlaXRoZ | ||
XIgaGVyZQpGbG93IGlvLmphbnMuYWdhbWEudGVzdC5tYXRoCiAgICBCYXNlcGF0aCAiIgogICAg | ||
SW5wdXRzIG51bWJlcnMgICAgICAvL0Egbm9uLWVtcHR5IGxpc3Qgb2YgcG9zaXRpdmUgaW50ZWd | ||
lcnMKCi8vIDEuIEZpbmQgdGhlIHNtYWxsZXN0CnNtYWxsID0gQ2FsbCBqYXZhLnV0aWwuQ29sbG | ||
VjdGlvbnMjbWluIG51bWJlcnMKTG9nICJtaW4gZWxlbWVudCBpcyIgc21hbGwKCgovLyAyLiBDb | ||
25jYXQgdGhlbSBhbGw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NYXRoI2Zsb29 | ||
yTW9kIG4gZGl2aXNvcgogICAgICAgIFF1aXQgV2hlbiBtb2R1bHVzIGlzIDAKCiAgICBRdWl0IF | ||
doZW4gayBpcyBudW1iZXJzLmxlbmd0aAoKV2hlbiBrIGlzIG51bWJlcnMubGVuZ3RoCiAgICBMb | ||
2cgIiUgYXJlIHJlbGF0aXZlIHByaW1lcyIgbnVtYmVycwpPdGhlcndpc2UKICAgIExvZyAiQWxs | ||
IG51bWJlcnMgY2FuIGJlIGRpdmlkZWQgYnkiIGRpdmlzb3IKCkZpbmlzaCB0cnVlCg== | ||
|
||
|
||
dn: agFlowQname=io.jans.agama.test.showConfig,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_io_jans_agama_test_showConfig","inputs":[],"timeou | ||
t":15,"displayName":null,"author":"Jose","timestamp":1666000000000,"descrip | ||
tion":null,"properties":{"phrase":"The quick brown fox jumps over the lazy | ||
dog","joke":"What's left when a boat and a train collide? Disbelief."}} | ||
agFlowQname: io.jans.agama.test.showConfig | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0xOVQxNDo0Nzo0N1oKZnVuY3Rpb24gX2 | ||
lvX2phbnNfYWdhbWFfdGVzdF9zaG93Q29uZmlnKApjb25mCikgewpjb25zdCBfYmFzZVBhdGggP | ||
SAiIgpsZXQgX2l0ID0gbnVsbCwgX2l0MiA9IG51bGwKbGV0IGlkeCA9IFtdLCBfaXRlbXMgPSBb | ||
XQoKICAgICAgICBfaXQgPSBjb25mCgogICAgX2l0ID0gX3JlbmRlclJlcGx5RmV0Y2goX2Jhc2V | ||
QYXRoLCAiY3VzdG9tL3ByaW50Q29uZmlncy5mdGxoIiwgZmFsc2UsIF9pdCkKICAgIF9pdDIgPS | ||
BKU09OLnBhcnNlKF9pdC5zZWNvbmQpCiAgICBfaXQgPSBfaXQuZmlyc3QKICAgIGlmICghX2lzT | ||
mlsKF9pdCkpIHJldHVybiBfYWJvcnQoX2l0LCBfaXQyKQoKICAgICBfaXQyCiAgICBfaXQgPSBf | ||
aXQyID0gbnVsbAogICAgX2l0ID0gZmFsc2UKcmV0dXJuIF9maW5pc2goX2l0KQoKfQoK | ||
jansCustomMessage: c7abf31238d11a90a7e14ba8a7cc5284af9f93d55b30379c17b6b84dc | ||
d787025ef71a4cac7bc0ea1bc1653c04a97e6056e9f8c89ab6210a8bb9862d8e0d12a3e | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: RmxvdyBpby5qYW5zLmFnYW1hLnRlc3Quc2hvd0NvbmZpZwogICAgQmFzZXBhdGggIi | ||
IKICAgIFRpbWVvdXQgMTUgc2Vjb25kcwogICAgQ29uZmlncyBjb25mCiAgICAKUlJGICJjdXN0b | ||
20vcHJpbnRDb25maWdzLmZ0bGgiIGNvbmYKCkZpbmlzaCBmYWxzZQ== | ||
|
||
|
||
dn: agFlowQname=org.gluu.flow1,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_org_gluu_flow1","inputs":[],"timeout":null,"displa | ||
yName":null,"author":"Jose","timestamp":1666000000000,"description":"Sends | ||
an input value to flow org.gluu.Flow2 and finishes as the subflow finished" | ||
,"properties":null} | ||
agFlowQname: org.gluu.flow1 | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0yMFQxMzo1MToxMloKZnVuY3Rpb24gX2 | ||
9yZ19nbHV1X2Zsb3cxKApfcAopIHsKY29uc3QgX2Jhc2VQYXRoID0gImYxIgpsZXQgX2l0ID0gb | ||
nVsbCwgX2l0MiA9IG51bGwKbGV0IGlkeCA9IFtdLCBfaXRlbXMgPSBbXQoKICAgICAgICBfaXQg | ||
PSB7fQoKICAgIF9pdCA9IF9yZW5kZXJSZXBseUZldGNoKF9iYXNlUGF0aCwgImluZGV4LmZ0bCI | ||
sIGZhbHNlLCBfaXQpCiAgICBfaXQyID0gSlNPTi5wYXJzZShfaXQuc2Vjb25kKQogICAgX2l0ID | ||
0gX2l0LmZpcnN0CiAgICBpZiAoIV9pc05pbChfaXQpKSByZXR1cm4gX2Fib3J0KF9pdCwgX2l0M | ||
ikKCiAgICB2YXIgZGF0YSA9CiBfaXQyCiAgICBfaXQgPSBfaXQyID0gbnVsbAogICAgICAgIF9p | ||
dCA9ICJvcmcuZ2x1dS5mbG93MiIKX2l0ID0gX2Zsb3dDYWxsKF9pdCwgX2Jhc2VQYXRoLCBbICB | ||
dLCBbIGRhdGEuc2VjcmV0W19pYygwLCAiMCIpXSBdKQppZiAoX2l0ID09PSB1bmRlZmluZWQpIH | ||
JldHVybgppZiAoX2l0LmJ1YmJsZVVwKSByZXR1cm4gX2l0LnZhbHVlIAogICAgdmFyIGRhdGEgP | ||
QogX2l0LnZhbHVlCl9sb2coWyAiQGRlYnVnIFN1YmZsb3cgZmluaXNoZWQgc3VjY2Vzc2Z1bGx5 | ||
PyIsIGRhdGEuc3VjY2VzcyBdKQogICAgX2l0ID0gZGF0YQpyZXR1cm4gX2ZpbmlzaChfaXQpCgp | ||
9Cgo= | ||
jansCustomMessage: 113ec8243dd0ee17f222e68cb42ae0f3faad20a6019615be80fde6fc0 | ||
c8131a3ecc3c673c45b3994172fe21c0d643a1da84df27c7867df76aa609c7926226b52 | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: Ly9UaGlzIGZsb3cgYXBwZWFyZWQgb3JpZ2luYWxseSBpbiB0aGUgZGVtb3Mgb2YgdG | ||
hlIGF1dGhlbnRpY2F0aW9uLXRyZWVzIHByb2plY3QKRmxvdyBvcmcuZ2x1dS5mbG93MSAKICAgI | ||
EJhc2VwYXRoICJmMSIgCiAgICAKZGF0YSA9IFJSRiAiaW5kZXguZnRsIgoKZGF0YSA9IFRyaWdn | ||
ZXIgb3JnLmdsdXUuZmxvdzIgZGF0YS5zZWNyZXRbMF0KCkxvZyAiQGRlYnVnIFN1YmZsb3cgZml | ||
uaXNoZWQgc3VjY2Vzc2Z1bGx5PyIgZGF0YS5zdWNjZXNzCgpGaW5pc2ggZGF0YQo= | ||
|
||
|
||
dn: agFlowQname=org.gluu.flow2,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_org_gluu_flow2","inputs":["val"],"timeout":null,"d | ||
isplayName":null,"author":"Jose","timestamp":1666000000000,"description":nu | ||
ll,"properties":null} | ||
agFlowQname: org.gluu.flow2 | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0xOVQxNjowNTozMFoKZnVuY3Rpb24gX2 | ||
9yZ19nbHV1X2Zsb3cyKApfcAogICAgLCB2YWwKKSB7CmNvbnN0IF9iYXNlUGF0aCA9ICJmMSIKb | ||
GV0IF9pdCA9IG51bGwsIF9pdDIgPSBudWxsCmxldCBpZHggPSBbXSwgX2l0ZW1zID0gW10KdmFy | ||
IHggPQoge3ZhbHVlOiB2YWx9CgogICAgICAgIF9pdCA9IHgKCiAgICBfaXQgPSBfcmVuZGVyUmV | ||
wbHlGZXRjaChfYmFzZVBhdGgsICJpbmRleDIuZnRsIiwgZmFsc2UsIF9pdCkKICAgIF9pdDIgPS | ||
BKU09OLnBhcnNlKF9pdC5zZWNvbmQpCiAgICBfaXQgPSBfaXQuZmlyc3QKICAgIGlmICghX2lzT | ||
mlsKF9pdCkpIHJldHVybiBfYWJvcnQoX2l0LCBfaXQyKQoKICAgIHZhciBkYXRhID0KIF9pdDIK | ||
ICAgIF9pdCA9IF9pdDIgPSBudWxsCmlmICggICAgCl9lcXVhbHMoZGF0YS5zb21ldGhpbmcsICI | ||
iKQopIHsKX2xvZyhbICJUaGVyZSB3YXMgYSBtaXNzaW5nIHZhbHVlIiBdKQp2YXIgcmV0ID0KIH | ||
sgc3VjY2VzczogZmFsc2UsIGVycm9yOiAiWW91IGZvcmdvdCBzb21ldGhpbmchIiB9CiAgICBfa | ||
XQgPSByZXQKcmV0dXJuIF9maW5pc2goX2l0KQp9CmVsc2UgewogICAgX2l0ID0gdHJ1ZQpyZXR1 | ||
cm4gX2ZpbmlzaChfaXQpCn0KCn0KCg== | ||
jansCustomMessage: 357a5015fc14516f2d94efaf61187f5870bf6a25fdd7dd91be8f001bf | ||
a900b9a0fc3b57d78cf9ed5efada0388bec93f5020e893943c03700636adda6dbb8020f | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: Ly9UaGlzIGZsb3cgYXBwZWFyZWQgb3JpZ2luYWxseSBpbiB0aGUgZGVtb3Mgb2YgdG | ||
hlIGF1dGhlbnRpY2F0aW9uLXRyZWVzIHByb2plY3QKRmxvdyBvcmcuZ2x1dS5mbG93MgogICAgQ | ||
mFzZXBhdGggImYxIiAKICAgIElucHV0cyB2YWwKCnggPSB7dmFsdWU6IHZhbH0KZGF0YSA9IFJS | ||
RiAiaW5kZXgyLmZ0bCIgeAoKV2hlbiBkYXRhLnNvbWV0aGluZyBpcyAiIgogICAgTG9nICJUaGV | ||
yZSB3YXMgYSBtaXNzaW5nIHZhbHVlIgogICAgcmV0ID0geyBzdWNjZXNzOiBmYWxzZSwgZXJyb3 | ||
I6ICJZb3UgZm9yZ290IHNvbWV0aGluZyEiIH0KICAgIEZpbmlzaCByZXQKT3RoZXJ3aXNlCiAgI | ||
CBGaW5pc2ggdHJ1ZQo= | ||
|
||
|
||
dn: agFlowQname=org.gluu.flow3,ou=flows,ou=agama,o=jans | ||
objectClass: top | ||
objectClass: agmFlow | ||
agFlowMeta: {"funcName":"_org_gluu_flow3","inputs":[],"timeout":null,"displa | ||
yName":null,"author":"Jose","timestamp":1666000000000,"description":null,"p | ||
roperties":null} | ||
agFlowQname: org.gluu.flow3 | ||
agFlowTrans:: Ly9HZW5lcmF0ZWQgYXQgMjAyMi0xMC0yMFQxNDowNjoxMloKZnVuY3Rpb24gX2 | ||
9yZ19nbHV1X2Zsb3czKApfcAopIHsKY29uc3QgX2Jhc2VQYXRoID0gIm1lIgpsZXQgX2l0ID0gb | ||
nVsbCwgX2l0MiA9IG51bGwKbGV0IGlkeCA9IFtdLCBfaXRlbXMgPSBbXQogICAgICAgIF9pdCA9 | ||
ICJvcmcuZ2x1dS5mbG93MSIKX2l0ID0gX2Zsb3dDYWxsKF9pdCwgX2Jhc2VQYXRoLCBbICJmMS9 | ||
pbmRleC5mdGwiLCAibXlpbmRleC5mdGxoIiBdLCBbICBdKQppZiAoX2l0ID09PSB1bmRlZmluZW | ||
QpIHJldHVybgppZiAoX2l0LmJ1YmJsZVVwKSByZXR1cm4gX2l0LnZhbHVlIAogICAgdmFyIG9ia | ||
iA9CiBfaXQudmFsdWUKICAgIF9pdCA9IG9iagpyZXR1cm4gX2ZpbmlzaChfaXQpCgp9Cgo= | ||
jansCustomMessage: 935e2fce350e85497c74886465ceec013f679345b145d3b15e633ce0c | ||
6923c7e5490ffb169aa609d28e1254e6256813ac99ef0ced2e89990f670335dee76612f | ||
jansEnabled: true | ||
jansRevision: 0 | ||
jansScr:: RmxvdyBvcmcuZ2x1dS5mbG93MyAKICAgIEJhc2VwYXRoICJtZSIKICAgIApvYmogPS | ||
BUcmlnZ2VyIG9yZy5nbHV1LmZsb3cxCiAgICBPdmVycmlkZSB0ZW1wbGF0ZXMgImYxL2luZGV4L | ||
mZ0bCIgIm15aW5kZXguZnRsaCIKCkZpbmlzaCBvYmoK | ||
|
6 changes: 6 additions & 0 deletions
6
jans-linux-setup/jans_setup/templates/test/agama/config-agama-test.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#The URL of your Jans installation | ||
server=https://%(hostname)s | ||
|
||
clientId=BADA-BADA | ||
|
||
custParamName=customParam1 |