WIP: adding community tags to images
This commit is contained in:
parent
21710f9e41
commit
698702c577
2 changed files with 14 additions and 4 deletions
|
@ -123,9 +123,13 @@ unique per provider instance. We move this logic to the `create()` method.
|
||||||
This logic, is of course, is really inefficient as every different transaction will read the entire user property file from disk,
|
This logic, is of course, is really inefficient as every different transaction will read the entire user property file from disk,
|
||||||
but hopefully this illustrates, in a simple way, how to hook in configuration variables.
|
but hopefully this illustrates, in a simple way, how to hook in configuration variables.
|
||||||
|
|
||||||
==== Configure in Admin Console
|
==== Configuring the Provider in Admin Console
|
||||||
|
|
||||||
Now that the configuration is enabled, you can set the `path` variable when you configure the provider in the admin console.
|
Now that the configuration is enabled, you can set the `path` variable when you configure the provider in the admin console.
|
||||||
|
|
||||||
|
{% if book.community %}
|
||||||
|
|
||||||
.Configured Provider
|
.Configured Provider
|
||||||
image:../../{{book.images}}/storage-provider-with-config.png[]
|
image:../../{{book.images}}/storage-provider-with-config.png[]
|
||||||
|
|
||||||
|
{% end if %}
|
|
@ -306,20 +306,26 @@ or using the JBoss CLI.
|
||||||
|
|
||||||
You enable user storage providers per realm within the `User Federation` page in the admin console.
|
You enable user storage providers per realm within the `User Federation` page in the admin console.
|
||||||
|
|
||||||
|
{% if book.community %}
|
||||||
.User Federation
|
.User Federation
|
||||||
image:../../{{book.images}}/empty-user-federation-page.png[]
|
image:../../{{book.images}}/empty-user-federation-page.png[]
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
Select the provider we just created from the list: `readonly-property-file`. It brings you to the configuration
|
Select the provider we just created from the list: `readonly-property-file`. It brings you to the configuration
|
||||||
page for our provider. We don't have anything to configure, so just click the `Save` button.
|
page for our provider. We don't have anything to configure, so click *Save*.
|
||||||
|
|
||||||
|
{% if book.community %}
|
||||||
.Configured Provider
|
.Configured Provider
|
||||||
image:../../{{book.images}}/storage-provider-created.png[]
|
image:../../{{book.images}}/storage-provider-created.png[]
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
When you go back to the main `User Federation` page, you'll now see your provider listed.
|
When you go back to the main `User Federation` page, you now see your provider listed.
|
||||||
|
|
||||||
|
{% if book.community %}
|
||||||
.User Federation
|
.User Federation
|
||||||
image:../../{{book.images}}/user-federation-page.png[]
|
image:../../{{book.images}}/user-federation-page.png[]
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
You will now be able to login with a user declared in the `users.properties` file. Of course, this user will have
|
You will now be able to log in with a user declared in the `users.properties` file. Of course, this user will have
|
||||||
zero permissions to do anything and will be read only. You can though view the user on its account page after you
|
zero permissions to do anything and will be read only. You can though view the user on its account page after you
|
||||||
login.
|
login.
|
||||||
|
|
Loading…
Reference in a new issue