This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 477c26f724 CAUSEWAY-3395 : adds docs on shiro
477c26f724 is described below

commit 477c26f724de55357d0f1b56dd769ca71313a94c
Author: danhaywood <[email protected]>
AuthorDate: Wed Jun 28 23:15:39 2023 +0100

    CAUSEWAY-3395 : adds docs on shiro
---
 .../images/010-create-first-page-of-wizard.png     | Bin 0 -> 51432 bytes
 .../images/010-create-organizational-person.png    | Bin 40913 -> 0 bytes
 .../images/020-create-inetOrgPerson.png            | Bin 0 -> 101837 bytes
 .../images/020-create-organizational-person.png    | Bin 23664 -> 0 bytes
 .../images/030-create-inetOrgPerson.png            | Bin 0 -> 56701 bytes
 .../images/030-create-organizational-person.png    | Bin 30931 -> 0 bytes
 .../images/040-create-inetOrgPerson.png            | Bin 0 -> 79004 bytes
 .../images/050-create-inetOrgPerson.png            | Bin 0 -> 49191 bytes
 .../images/060-create-inetOrgPerson.png            | Bin 0 -> 50242 bytes
 .../images/110-groupOfUniqueNames.png              | Bin 0 -> 99009 bytes
 .../images/120-groupOfUniqueNames.png              | Bin 0 -> 57118 bytes
 .../images/130-groupOfUniqueNames.png              | Bin 0 -> 77716 bytes
 .../adoc/modules/shiro-realm-ldap/pages/about.adoc |  52 +++++++++++++++++++--
 13 files changed, 49 insertions(+), 3 deletions(-)

diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-first-page-of-wizard.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-first-page-of-wizard.png
new file mode 100644
index 0000000000..41778a77ae
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-first-page-of-wizard.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-organizational-person.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-organizational-person.png
deleted file mode 100644
index 0e19946490..0000000000
Binary files 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/010-create-organizational-person.png
 and /dev/null differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-inetOrgPerson.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-inetOrgPerson.png
new file mode 100644
index 0000000000..291725a856
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-inetOrgPerson.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-organizational-person.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-organizational-person.png
deleted file mode 100644
index 23dd51c25c..0000000000
Binary files 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/020-create-organizational-person.png
 and /dev/null differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-inetOrgPerson.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-inetOrgPerson.png
new file mode 100644
index 0000000000..4e9ef59585
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-inetOrgPerson.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-organizational-person.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-organizational-person.png
deleted file mode 100644
index 6b198571b2..0000000000
Binary files 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/030-create-organizational-person.png
 and /dev/null differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/040-create-inetOrgPerson.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/040-create-inetOrgPerson.png
new file mode 100644
index 0000000000..3ec249e2a6
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/040-create-inetOrgPerson.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/050-create-inetOrgPerson.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/050-create-inetOrgPerson.png
new file mode 100644
index 0000000000..8972648325
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/050-create-inetOrgPerson.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/060-create-inetOrgPerson.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/060-create-inetOrgPerson.png
new file mode 100644
index 0000000000..27b8fcbd28
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/060-create-inetOrgPerson.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/110-groupOfUniqueNames.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/110-groupOfUniqueNames.png
new file mode 100644
index 0000000000..564a8a9418
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/110-groupOfUniqueNames.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/120-groupOfUniqueNames.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/120-groupOfUniqueNames.png
new file mode 100644
index 0000000000..794bbb613f
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/120-groupOfUniqueNames.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/130-groupOfUniqueNames.png
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/130-groupOfUniqueNames.png
new file mode 100644
index 0000000000..7843f6bffb
Binary files /dev/null and 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/images/130-groupOfUniqueNames.png
 differ
diff --git 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/pages/about.adoc
 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/pages/about.adoc
index 4e40f12f5c..1fc7ed3a84 100644
--- 
a/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/pages/about.adoc
+++ 
b/extensions/security/shiro-realm-ldap/adoc/modules/shiro-realm-ldap/pages/about.adoc
@@ -84,6 +84,7 @@ 
include::security:shiro-realm-ldap:example$shiro.ini[tags=example]
 <.> Injects the `contextFactory` object into the `ldapRealm` object ...
 <.> \... and injects the `ldapRealm` into Shiro's in-built security manager.
 
+The `
 
 // TODO: v2 - work in progress - also describe how this can optionally map 
LDAP groups to roles, and can map roles to perms; neither are relevant if 
secman is used for permissioning.
 
@@ -117,9 +118,54 @@ using _Apache Directory Studio_
 ** password: `secret`
 
 
-// image::010-create-organizational-person.png[width=800px]
-// image::020-create-organizational-person.png[width=800px]
-// image::030-create-organizational-person.png[width=800px]
+=== Creating a user
+
+To create a user:
+
+* using the wizard, create an entry from scratch:
++
+image::010-create-first-page-of-wizard.png[width=600]
+
+* select the `inetOrgPerson` structural class
++
+image::020-create-inetOrgPerson.png[width=600]
+
+* provide the `cn` (common name)
++
+image::030-create-inetOrgPerson.png[width=600]
+
+* in addition, define a `uid` attribute:
++
+image::040-create-inetOrgPerson.png[width=600]
+
+* also enter a `userPassword`:
++
+image::060-create-inetOrgPerson.png[width=600]
++
+The value is entered through a separate dialog
++
+image::050-create-inetOrgPerson.png[width=600]
+
+
+=== Creating a group
+
+To create a group:
+
+* using the wizard, create an entry from scratch:
++
+image::010-create-first-page-of-wizard.png[width=600]
+
+* select `groupOfUniqueNames`
++
+image::110-groupOfUniqueNames.png[width=600]
+
+* provide a `cn` (common name) for the goup
++
+image::120-groupOfUniqueNames.png[width=600]
+
+* add a `uniqueMember` for each member of the group (there may be multiple)
++
+image::130-groupOfUniqueNames.png[width=600]
 
 
 // == Setting up Users/Groups in Apache Directory Studio

Reply via email to