mesosphere / marathon-example-plugins

Example Plugins for Marathon Plugin Interface
Apache License 2.0
22 stars 29 forks source link

Accessing Marathon Plugin Conf in Java Implementation #10

Open ameyanerurkar opened 8 years ago

ameyanerurkar commented 8 years ago

How do we access the Plugin Configuration when we implement the Marathon auth Plugin interface in Java.

For e.g in the Scala example plugin code: https://github.com/mesosphere/marathon-example-plugins/blob/8d8a933666231d09c13dd157d59e0d30f530ee69/auth/src/main/scala/mesosphere/marathon/example/plugin/auth/ExampleAuthenticator.scala#L46

How do we access this "configuration" JSON object in the Java implementation of the plugin interface?