Class DynamicRealmDemo

java.lang.Object
org.forgerock.json.resource.examples.DynamicRealmDemo

public final class DynamicRealmDemo extends Object
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.