javamelody / liferay-javamelody

JavaMelody plugin for Liferay
Apache License 2.0
6 stars 8 forks source link

Security #3

Closed markstein closed 10 years ago

markstein commented 10 years ago

Possiblity to use Liferay user (role) management for javamelody access. E.g. access only for Liferay admins.

evernat commented 10 years ago

As said here, "Authentication and portal Administrator role is required to access" the monitoring page already. Is it what you are looking for, or do you suggest something else?

If you want to submit changes in a pull request, the code to check for the Administrator role is at: https://github.com/evernat/liferay-javamelody/blob/master/src/main/java/net/bull/javamelody/LiferayMonitoringFilter.java#L77

markstein commented 10 years ago

Yes, that is done. Thx.