Skip to content

Commit

Permalink
Add auth to the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bardin committed Apr 18, 2014
1 parent c7faea0 commit b15675f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
import org.wisdom.api.http.HttpMethod;
import org.wisdom.api.http.Result;
import org.wisdom.api.http.websockets.Publisher;
import org.wisdom.api.security.Authenticated;
import org.wisdom.api.templates.Template;
import org.wisdom.monitor.extensions.security.MonitorAuthenticator;
import org.wisdom.monitor.service.HealthCheck;
import org.wisdom.monitor.service.MonitorExtension;
import scala.concurrent.duration.FiniteDuration;
Expand All @@ -64,6 +66,7 @@
*/
@Controller
@Path("/monitor/dashboard")
@Authenticated(MonitorAuthenticator.class)
public class DashboardExtension extends DefaultController implements MonitorExtension {

@Requires
Expand Down

0 comments on commit b15675f

Please sign in to comment.