Re: [JBoss-user] Authentication for JMX management browser

2003-04-03 Thread Sanjeev Singal
Matt and Julien,

Thank you very much for your help.

Sanjeev

Matt Johnson wrote:

 Sanjeev,

 To use Julien's instructions, you will also need to upgrade to the
 latest JBoss 3.0.x (currently 3.0.6), as this uses a webapp at the
 jmx-console context to handle this.  The jmx console on port 8082 no
 longer applies.

 You should upgrade regardless, as 3.0.6 has hundreds of fixes and
 improvements.

 Matt

 julien viet wrote:

 yes, uncomment
 
   security-constraint
 web-resource-collection
   web-resource-nameHtmlAdaptor/web-resource-name
   descriptionAn example security config that only allows users with the
 role JBossAdmin to access the HTML JMX console web application
   /description
   url-pattern/*/url-pattern
   http-methodGET/http-method
   http-methodPOST/http-method
 /web-resource-collection
 auth-constraint
   role-nameJBossAdmin/role-name
 /auth-constraint
   /security-constraint
 
   login-config
 auth-methodBASIC/auth-method
 realm-nameJBoss JMX Console/realm-name
   /login-config
 
   security-role
 role-nameJBossAdmin/role-name
   /security-role
 in deploy\jmx-console.war\WEB-INF\web.xml
 
 and
 
 security-domainjava:/jaas/jmx-console/security-domain
 in deploy\jmx-console.war\WEB-INF\jboss-web.xml
 
 then you can setup login with properties file in 
 deploy\jmx-console.war\WEB-INF\classes
 
 julien
 
 SS Hey all,
 
 SS I am using jboss-3.0.0 and wants to have the authentication mechanism
 SS for JMX management browser. Right now, anybody can go to
 SS http://jboss_ip:8082/ and can perform any kind of operation like
 SS removing all messages from queues, removing beans etc.
 
 SS Is it possible when somebody access jmx management browser, a login
 SS window pops up for username and password??
 
 SS Any ideas??
 
 SS Sanjeev
 
 
 
 SS ---
 SS This SF.net email is sponsored by: ValueWeb:
 SS Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
 SS No other company gives more support or power for your dedicated server
 SS http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
 SS ___
 SS JBoss-user mailing list
 SS [EMAIL PROTECTED]
 SS https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 

 ---
 This SF.net email is sponsored by: ValueWeb:
 Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
 No other company gives more support or power for your dedicated server
 http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Authentication for JMX management browser

2003-04-02 Thread julien viet
yes, uncomment

  security-constraint
web-resource-collection
  web-resource-nameHtmlAdaptor/web-resource-name
  descriptionAn example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
  /description
  url-pattern/*/url-pattern
  http-methodGET/http-method
  http-methodPOST/http-method
/web-resource-collection
auth-constraint
  role-nameJBossAdmin/role-name
/auth-constraint
  /security-constraint

  login-config
auth-methodBASIC/auth-method
realm-nameJBoss JMX Console/realm-name
  /login-config

  security-role
role-nameJBossAdmin/role-name
  /security-role
in deploy\jmx-console.war\WEB-INF\web.xml

and

security-domainjava:/jaas/jmx-console/security-domain
in deploy\jmx-console.war\WEB-INF\jboss-web.xml

then you can setup login with properties file in deploy\jmx-console.war\WEB-INF\classes

julien

SS Hey all,

SS I am using jboss-3.0.0 and wants to have the authentication mechanism
SS for JMX management browser. Right now, anybody can go to
SS http://jboss_ip:8082/ and can perform any kind of operation like
SS removing all messages from queues, removing beans etc.

SS Is it possible when somebody access jmx management browser, a login
SS window pops up for username and password??

SS Any ideas??

SS Sanjeev



SS ---
SS This SF.net email is sponsored by: ValueWeb: 
SS Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
SS No other company gives more support or power for your dedicated server
SS http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
SS ___
SS JBoss-user mailing list
SS [EMAIL PROTECTED]
SS https://lists.sourceforge.net/lists/listinfo/jboss-user



-- 
Best regards,
 julienmailto:[EMAIL PROTECTED]



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Authentication for JMX management browser

2003-04-02 Thread Matt Johnson
Sanjeev,

To use Julien's instructions, you will also need to upgrade to the 
latest JBoss 3.0.x (currently 3.0.6), as this uses a webapp at the 
jmx-console context to handle this.  The jmx console on port 8082 no 
longer applies.

You should upgrade regardless, as 3.0.6 has hundreds of fixes and 
improvements.

Matt

julien viet wrote:

yes, uncomment

 security-constraint
   web-resource-collection
 web-resource-nameHtmlAdaptor/web-resource-name
 descriptionAn example security config that only allows users with the
   role JBossAdmin to access the HTML JMX console web application
 /description
 url-pattern/*/url-pattern
 http-methodGET/http-method
 http-methodPOST/http-method
   /web-resource-collection
   auth-constraint
 role-nameJBossAdmin/role-name
   /auth-constraint
 /security-constraint
 login-config
   auth-methodBASIC/auth-method
   realm-nameJBoss JMX Console/realm-name
 /login-config
 security-role
   role-nameJBossAdmin/role-name
 /security-role
in deploy\jmx-console.war\WEB-INF\web.xml
and

security-domainjava:/jaas/jmx-console/security-domain
in deploy\jmx-console.war\WEB-INF\jboss-web.xml
then you can setup login with properties file in deploy\jmx-console.war\WEB-INF\classes

julien

SS Hey all,

SS I am using jboss-3.0.0 and wants to have the authentication mechanism
SS for JMX management browser. Right now, anybody can go to
SS http://jboss_ip:8082/ and can perform any kind of operation like
SS removing all messages from queues, removing beans etc.
SS Is it possible when somebody access jmx management browser, a login
SS window pops up for username and password??
SS Any ideas??

SS Sanjeev



SS ---
SS This SF.net email is sponsored by: ValueWeb: 
SS Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
SS No other company gives more support or power for your dedicated server
SS http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
SS ___
SS JBoss-user mailing list
SS [EMAIL PROTECTED]
SS https://lists.sourceforge.net/lists/listinfo/jboss-user



 



---
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user