Added example files
This commit is contained in:
parent
04cd101cc6
commit
a3d511dc12
20
example/USER_TO_ROLE.xml
Normal file
20
example/USER_TO_ROLE.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.novell.com/role/service">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<ser:requestRolesAssignmentRequest>
|
||||
<!--Optional:-->
|
||||
<ser:assignRequest>
|
||||
<ser:actionType>grant</ser:actionType>
|
||||
<ser:assignmentType>USER_TO_ROLE</ser:assignmentType>
|
||||
<ser:identity>USER_DN</ser:identity>
|
||||
<ser:reason>DESC</ser:reason>
|
||||
<ser:roles>
|
||||
<!--Zero or more repetitions:-->
|
||||
<ser:dnstring>
|
||||
<ser:dn>ROLE_DN</ser:dn>
|
||||
</ser:dnstring>
|
||||
</ser:roles>
|
||||
</ser:assignRequest>
|
||||
</ser:requestRolesAssignmentRequest>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>
|
4
example/linux_runner.sh
Normal file
4
example/linux_runner.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
JAVA=/usr/local/bin/java
|
||||
$JAVA -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.webService "$@"
|
4
example/linux_verify.sh
Normal file
4
example/linux_verify.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
JAVA=/usr/local/bin/java
|
||||
$JAVA -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.userVerify
|
2
example/msalah.csv
Normal file
2
example/msalah.csv
Normal file
@ -0,0 +1,2 @@
|
||||
USER_DN,ROLE_DN,DESC
|
||||
"cn=msalah,ou=admins,o=belkast","cn=TestRole,o=belkast","Test Load"
|
|
8
example/props_USER_TO_ROLE.conf
Normal file
8
example/props_USER_TO_ROLE.conf
Normal file
@ -0,0 +1,8 @@
|
||||
SHIM_URL = https://test.mycompany.com:8443/IDMProv/role/service
|
||||
PASSWORD = PT9TKHwFgJCxATJtAAMtMwtIF0UjFal6fo5riBN+ExY=
|
||||
USERNAME = cn=keitha,ou=active,ou=users,o=belkast
|
||||
XML_FILE = USER_TO_ROLE.xml
|
||||
INPUT_FILE = msalah.csv
|
||||
SSL = true
|
||||
JAVA_KS_LOCATION = ldap.keystore
|
||||
JAVA_KS_PASSWORD = changeit
|
Loading…
x
Reference in New Issue
Block a user