FOAFRealm/Documents/FRComponentsUsageScenarios
From Corrib Clan Wiki
Contents |
FOAFRealm Components Usage Scenarios
Only authorization
One of the FOAFRealm components is a FR_realm. This is an example of a Tomcat realm implementation.
It is a kind of a “plug in” component for establishing connection between a servlet container and some existing authentication database or mechanism.
The FR_realm component delivers authorization based on RDF repository. It can replace standard Tomcat mechanism.
Authorization and simple users management
Thanks to FR_webclient component it is possible to manage users stored in a remote repository.
This component can be treated similarly to GUI (a set of jsp) with some methods to manage persons (get/setPerson)
and with a mechanism to communicate with SOA (REST) on server side.
It can be compared to a thin client.
Authorization, users management and local storage
In this scenario it is also possible to keep some data (information about users) in a local repository - cache.
This approach allows to synchronize cache with master repository.
Now there is one additional component, namely FR_manage. It is responsible for the connection with a local repository.
It doesn't have any methods to communicate with a remote repository. All communication mechanism and main logic is located in the FR_webclient.
It is also responsible for cache synchronization.
From now on the FR_webclient is a kind of rich client.






