You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2019. It is now read-only.
Currently, there is no possibility to add Realms after the router was built. Accodring to the specification it is the routers business if he creates realms after it is started.
Note. The behavior if a requested "Realm" does not presently
exist is router-specific. A router may e.g. automatically create
the realm, or deny the establishment of the session with a "ABORT"
reply message.
In this case i would suggest that:
a) a client requests a realm which is not created, then the router can create it (set via option when the router is built)
b) the router can dynamically create realms within the code router.addRealm(...) (currently only possible before the object is built)
Use case - microservice architecture:
A client authenticates via BasicAuth/oAuth/... on a REST-Interface. The router gets notified, that a authenticated client wants to access the services of the application. Afterwards, a realm is created where the user can interact with other users and/or services which are also connecting to the new realm.
In this case the user can interact with other users who can join the realm (via invitation, ...) and the services who joined the realm.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, there is no possibility to add Realms after the router was built. Accodring to the specification it is the routers business if he creates realms after it is started.
See: https://tools.ietf.org/html/draft-oberstet-hybi-tavendo-wamp-02#section-7.1.2
In this case i would suggest that:
a) a client requests a realm which is not created, then the router can create it (set via option when the router is built)
b) the router can dynamically create realms within the code
router.addRealm(...)
(currently only possible before the object is built)Use case - microservice architecture:
A client authenticates via BasicAuth/oAuth/... on a REST-Interface. The router gets notified, that a authenticated client wants to access the services of the application. Afterwards, a realm is created where the user can interact with other users and/or services which are also connecting to the new realm.
In this case the user can interact with other users who can join the realm (via invitation, ...) and the services who joined the realm.
The text was updated successfully, but these errors were encountered: