This content has been marked as final.
Show 2 replies
-
1. Re: Mbean with custom authentification / authorization for m
genman Dec 13, 2007 10:24 PM (in response to jaunedeau)For remote access, you'd configure the security for the console.
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoISecureTheJMXConnection
This will authenticate a remote connection, take "username+password" and create a principal.
For fine-grained authentication, enable this interceptor:
http://jsourcery.com/api/sourceforge/jboss/4.0.4/org/jboss/jmx/connector/invoker/AuthorizationInterceptor.html
Which, once configured, can instantiate an object and call this method:public void authorize( Principal caller, Subject subject, String objectname,String opname)
I don't believe there's a tutorial... -
2. Re: Mbean with custom authentification / authorization for m
genman Dec 13, 2007 10:25 PM (in response to jaunedeau)Er, not console I mean RMI adapter.
Anyway, take it step by step... first get login to work, then add the interceptor.