Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
fix: image path
Browse files Browse the repository at this point in the history
  • Loading branch information
imShakil committed Apr 24, 2021
1 parent 2a3cf68 commit 6e1ed53
Show file tree
Hide file tree
Showing 46 changed files with 33 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/cli/cli-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Modify it to update attribute `name`, `display name`, `view type`:
nano /tmp/attribute.json
```

![post-attribute.png](img/cl-post-attribute.png)
![post-attribute.png](../img/cl-post-attribute.png)

Now, let's add this attribute using `post-attributes`:
```commandline
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/cli-default-authentication-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ we have seen that our Default Authentication Method is `simple_password_auth`. W
```commandline
nano /tmp/patch-default-auth.json
```
![update default authentication method](img/cl-update-default-auth.png)
![update default authentication method](../img/cl-update-default-auth.png)

Now let's do the operation:
```commandline
Expand All @@ -60,5 +60,5 @@ Now let's do the operation:

It will show the updated result.

![updated result](img/cl-update-default-auth-result.png)
![updated result](../img/cl-update-default-auth-result.png)

4 changes: 2 additions & 2 deletions docs/cli/cli-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ root@testjans:~#
```
The schema defines the properties of an attribute.Just Create a json file with each properties in schema filling by a value.

![](img/cl-scim-create-group.png)
![](../img/cl-scim-create-group.png)

As you see, I have removed `members` from the schema. We will add members in this group later. Let's use the command to create the group with this data.

Expand Down Expand Up @@ -311,7 +311,7 @@ root@testjans:~#

let's modify this schema to add members into a selected group:

![](img/cl-scim-group-update.png)
![](../img/cl-scim-group-update.png)

- displayName: It should be a group name
- id: Selected group id which one you want to updae
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/cli-jans-authorization-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ It will create a `.json` file in `/tmp` with schema.
Let's modify this schema:
`nano /tmp/patch-jans-auth.json`

![patch jans auth](img/cl-patch-jans-auth.png)
![patch jans auth](../img/cl-patch-jans-auth.png)

This schema has three properties; `op`, `path` & `value`.
Let's perform a `replace` operation at `cibaEnabled` to change it from `false` to `true`.
Expand All @@ -528,6 +528,6 @@ Now, let's do the operation.

If you run the following command line, you must see that `cibaEnabled` is `true`:

![Update result Jans Auth](img/cl-update-jans-auth.png)
![Update result Jans Auth](../img/cl-update-jans-auth.png)


2 changes: 1 addition & 1 deletion docs/cli/cli-janssen-fido2-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ To perform this operation, let's check the schema first.

This command will create a fido2 schema file on `/tmp/`. You can edit this file depending on the requirements:

![janssen fido2 configuration](img/cl-fido2-update.png)
![janssen fido2 configuration](../img/cl-fido2-update.png)

Now let's do the operation:

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/cli-logging-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ nano /tmp/log-config.json

Here I have updated `loggingLevel` to `DEBUG` and `enabledOAuditLogging` to `true` as below image.

![updated logging](img/cl-update-logging.png)
![updated logging](../img/cl-update-logging.png)


Let's do the operation:
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/cli-oauthscopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Now edit file `tmp/scope.json` with an editor (like **nano**). As an example we
"description": "Test Scope created by jans-cli",
```

![jans-cl Edit scope.json](img/cl-oauthscope-json.png)
![jans-cl Edit scope.json](../img/cl-oauthscope-json.png)

It is time to post the data:

Expand Down Expand Up @@ -204,7 +204,7 @@ When you examine this JSON, you will see three properties in an object: op, path

We can edit this json as follows (remember to make it an array):

![jans-cl Edit patch.json](img/cl-oauthscope-patch-json.png)
![jans-cl Edit patch.json](../img/cl-oauthscope-patch-json.png)

Let's do the operation:

Expand Down
10 changes: 0 additions & 10 deletions docs/cli/cli-openid-connect-client-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,13 +701,3 @@ Calling with params limit=2
}
]
```

# SCIM-CLI

SCIM is a specification designed to reduce the complexity of user management operations by providing a common user schema and the patterns for exchanging such schema using HTTP in a platform-neutral fashion. The aim of SCIM is achieving interoperability, security, and scalability in the context of identity management.

**SCIM-CLI** which is going to help on performing such SCIM operations on the Janssen Server with ease and more readablity. It supports both of the **_Menu-driven Interactive Mode_** and **_Command Line Mode_**.


There are few things you should know before using the **_Menu-driven Interactive Mode_** of SCIM cli.

8 changes: 8 additions & 0 deletions docs/cli/cli-scim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SCIM-CLI

SCIM is a specification designed to reduce the complexity of user management operations by providing a common user schema and the patterns for exchanging such schema using HTTP in a platform-neutral fashion. The aim of SCIM is achieving interoperability, security, and scalability in the context of identity management.

**SCIM-CLI** which is going to help on performing such SCIM operations on the Janssen Server with ease and more readablity. It supports both of the **_Menu-driven Interactive Mode_** and **_Command Line Mode_**.


There are few things you should know before using the **_Menu-driven Interactive Mode_** of SCIM cli.
2 changes: 1 addition & 1 deletion docs/cli/cli-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ let's modify this schema:
nano /tmp/create-user.json
```

![](img/cl-scim-create-user.png)
![](../img/cl-scim-create-user.png)

Finally use below command line, to create an user resources.

Expand Down
Binary file removed docs/cli/img/cl-fido2-update.png
Binary file not shown.
Binary file removed docs/cli/img/cl-oauthscope-json.png
Binary file not shown.
Binary file removed docs/cli/img/cl-oauthscope-patch-json.png
Binary file not shown.
Binary file removed docs/cli/img/cl-patch-jans-auth.png
Binary file not shown.
Binary file removed docs/cli/img/cl-post-attribute.png
Binary file not shown.
Binary file removed docs/cli/img/cl-scim-create-group.png
Binary file not shown.
Binary file removed docs/cli/img/cl-scim-create-user.png
Binary file not shown.
Binary file removed docs/cli/img/cl-scim-group-update.png
Binary file not shown.
Binary file removed docs/cli/img/cl-update-default-auth-result.png
Binary file not shown.
Binary file removed docs/cli/img/cl-update-default-auth.png
Binary file not shown.
Binary file removed docs/cli/img/cl-update-jans-auth.png
Binary file not shown.
Binary file removed docs/cli/img/cl-update-logging.png
Binary file not shown.
Binary file removed docs/cli/img/cl-update-smtp.png
Binary file not shown.
14 changes: 7 additions & 7 deletions docs/im/im-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Using **Janssen CLI**, You can perform some quick operations in _Attribute_. Suc

For example, to get all attributes to choose 1 from the Main Menu, you will get the following options:

![jans-cli Attributes Menu](img/im-attributes-main.png)
![jans-cli Attributes Menu](../img/im-attributes-main.png)

To `View/Find` attributes choose 1, you will be asked to enter `Search size`, `Search pattern` and `Status of the attribute` . For simplicity, leave defaults in our case:

![jans-cli Attributes Get All](img/im-attributes-get-all.png)
![jans-cli Attributes Get All](../img/im-attributes-get-all.png)

Once press Enter, it will retrieve 50 attributes and prints to screen in green color:

![jans-cli Attributes Get All Response](img/im-attributes-get-all-response.png)
![jans-cli Attributes Get All Response](../img/im-attributes-get-all-response.png)

You can save the result as a file by choosing `w` in the result screen. To go back enter `b`, to quit enter `q`. If you enter a recognized command, it will display valid command.

Expand Down Expand Up @@ -65,7 +65,7 @@ Obtained Data:
}
```

![add attribute](img/im-add-attrb.png)
![add attribute](../img/im-add-attrb.png)

To `update` an attribute, choose 3 (on the Attribute screen). It will ask `inum` of the attribute you are going to update. For example, I want to change the description for an attribute having `inum=BCA8`.
It will retrieve current data and ask for the modification of each property, just leave defaults if you don't want to change that property.
Expand Down Expand Up @@ -115,7 +115,7 @@ Obtained Data:
"tooltip": null
}
```
![jans-cli Attributes Update](img/im-attributes-update.png)
![jans-cli Attributes Update](../img/im-attributes-update.png)

Enter `y` to perform an `update` and display updated data on the screen.

Expand All @@ -125,7 +125,7 @@ To update property of an attribute, you can go with partial updates from Attribu
- **__path__** chose path where operation will be performed: for example `attributeValidation/minLength`
- **__value__** value that you want update. It can be integer, boolean or string.

![partially update attribute](img/im-partial-attrb-update.png)
![partially update attribute](../img/im-partial-attrb-update.png)

Finally, it will display the updated result.

Expand Down Expand Up @@ -176,5 +176,5 @@ Please wait for patching...

To `delete` an attribute, choose option 5 from Attribute Menu. Enter the `inum` value that you want to delete. Here I chose that I already created in the above: `"inum=0adfeb80-cb57-4f7b-a3a0-944082e4c199"` It will ask for confirmation, enter `y` to confirm.

![delete attribute](img/im-delete-attrb.png)
![delete attribute](../img/im-delete-attrb.png)

6 changes: 3 additions & 3 deletions docs/im/im-authentication-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Sometimes It's getting hard to change **Default Authentication Method** from a web browser if you can't log in using the web interface. Here Janssen CLI is going to help you a lot.

![default-auth](img/im-default-auth.png)
![default-auth](../img/im-default-auth.png)

- `View` Default Authentication Method.
- `Update` Default Authentication Method.
Expand All @@ -11,11 +11,11 @@ Select option 2 from Main Menu to chose Authentication Method. You can see such

To `View` default authentication method select '1' from Authentication Menu, It will show you the current default authentication method of the Janssen server.

![current-default-auth](img/im-cur-default-auth.png)
![current-default-auth](../img/im-cur-default-auth.png)


To `update` the default authentication method select '2', then enter the default authentication method that you want to update with it. It will ask for the confirmation, `y` to confirm.

![update-auth](img/im-update-default-auth.png)
![update-auth](../img/im-update-default-auth.png)


4 changes: 0 additions & 4 deletions docs/im/im-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,3 @@ members: [{'display': 'Default Admin User',
}
```
Finally it will make changes in the group resource.


We will refer to this mode as **_CL_**. Using this mode is difficult compared to **_IM_**. There are few informations may help you to perform such operations using this mode.

2 changes: 1 addition & 1 deletion docs/im/im-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We will refer _Menu-driven Interactive Mode_ as **IM**. To run IM just simply ex
```
You will see the main menu as below:

![jans-cli Main Menu](img/im-main.png)
![jans-cli Main Menu](../img/im-main.png)

Using IM is very simple and intuitive. Just make a selection and answer questions. There is a special option to read value for a question from a file using **_file** tag. This option is the most suitable choice to input the large text (e.g., interception script source code or JSON file content). To use this option input **_file /path/of/file** e.g. **_file /home/user/interceptionscript.py**. From the following menu, you can choose an option by selecting its number. Let's start from the beginning.

2 changes: 1 addition & 1 deletion docs/im/im-jans-authorization-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ Select 1 to get all the details about Jans authorization server configuration. I
```
By selecting the 2nd option, you can modify its properties partially.

![update jans authorization server](img/im-update-jans-auth.png)
![update jans authorization server](../img/im-update-jans-auth.png)

At the end, it will show the updated result.

2 changes: 1 addition & 1 deletion docs/im/im-janssen-fido2.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ If you chose the first option, You will get some details of fido2 configuration
If you want to update the fido2 configuration, you can choose the 2nd option. It will ask to fill each property, skip for default values.
For example, if you want to change **_logginglevel_** `INFO` to `DEBUG`, simply enter **DEBUG** when it will ask to enter a value.

![update fido2 configuration](img/im-update-fido2.png)
![update fido2 configuration](../img/im-update-fido2.png)

> **__Add RequestedParties?__**; If you want to add any requested domains then enter `y`, it will ask `name` and `domains` information of requested parties. Otherwise, enter `n` to skip.
Expand Down
Binary file removed docs/im/img/im-add-attrb.png
Binary file not shown.
Binary file removed docs/im/img/im-attributes-get-all-response.png
Binary file not shown.
Binary file removed docs/im/img/im-attributes-get-all.png
Binary file not shown.
Binary file removed docs/im/img/im-attributes-main.png
Binary file not shown.
Binary file removed docs/im/img/im-attributes-update.png
Binary file not shown.
Binary file removed docs/im/img/im-cur-default-auth.png
Binary file not shown.
Binary file removed docs/im/img/im-default-auth-02.png
Binary file not shown.
Binary file removed docs/im/img/im-default-auth.png
Binary file not shown.
Binary file removed docs/im/img/im-delete-attrb.png
Binary file not shown.
Binary file removed docs/im/img/im-main.png
Binary file not shown.
Binary file removed docs/im/img/im-partial-attrb-update.png
Binary file not shown.
Binary file removed docs/im/img/im-scim-menu.png
Binary file not shown.
Binary file removed docs/im/img/im-uma-menu.png
Diff not rendered.
Binary file removed docs/im/img/im-update-custom-script.png
Diff not rendered.
Binary file removed docs/im/img/im-update-default-auth.png
Diff not rendered.
Binary file removed docs/im/img/im-update-fido2.png
Diff not rendered.
Binary file removed docs/im/img/im-update-jans-auth.png
Diff not rendered.

0 comments on commit 6e1ed53

Please sign in to comment.