Class DynamicRealmDemo
java.lang.Object
org.forgerock.json.resource.examples.DynamicRealmDemo
An example illustrating how you can route realms / sub-realm requests using
dynamic routing. Resource URLs are of the form
realm0/realm1/.../realmx/users/id
. During dynamic routing temporary
routers and request handlers are created on demand in order to maintain state
while parsing the request. Dynamic routing is probably a bit overkill for a
simple routing model like this.-
Method Summary
-
Method Details
-
main
Main application.- Parameters:
args
- No arguments required.- Throws:
ResourceException
- If an unexpected error occurred.
-