This is regarding how a dynamic authenticator to authenticate itself from the thread titled Authenticating the Authenticator posted earlier:
- use Unix domain sockets for connecting the authenticator to the
router, use filesystem permissions for security, and a fixed WAMP
And My question is how to modify the config.json to set up my config.json file?
My authenticator is a java program under /auth.jar
How does crossbar know which my java is connecting via unix socket?
and I am using jawampa crossbar client library to connect to crossbar like:
WampClientBuilder builder = new WampClientBuilder();
builder.withConnectorProvider(connectorProvider) .withUri(wampUrl) .withRealm(realm) .withSerializations(s) .withInfiniteReconnects() .withAuthMethod(new Ticket(ticket)) .withAuthId(authID) .withReconnectInterval(5, TimeUnit.SECONDS);
currently, I am using ticket to authenticate the authenticator, but I do not want to have a static password to store in the config.json file.