-
1. Re: Remote lookup without user authentication
jaikiran Jul 7, 2012 1:22 AM (in response to andersonvass)AS7 is by default secure, which means that invocations on it need to be authenticate/authorized. So without the username/password from the client, the security check will fail, unless you disable security on the server side. Is that what you want? If yes, is there a specific reason to disable security?
-
2. Re: Remote lookup without user authentication
andersonvass Jul 10, 2012 7:05 AM (in response to jaikiran)Jaikiran,
Is that what i want. I have a legacy system where i have to migrate for jboss 7. In this system, was not used the security for lookup of remote EJB.
How i can disable this security feature for remote invocation in jboss 7.1?
Thanks
-
3. Re: Remote lookup without user authentication
jaikiran Jul 10, 2012 7:19 AM (in response to andersonvass)The remoting subsystem is configured with a connector named remoting-connector:
<subsystem xmlns="urn:jboss:domain:remoting:1.1"> <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/> </subsystem>
That's what's used for remote invocations. The security-realm attribute is what makes it secure. Just remove that attribute if you want security disabled:
<subsystem xmlns="urn:jboss:domain:remoting:1.1"> <connector name="remoting-connector" socket-binding="remoting" /> </subsystem>
-
4. Re: Remote lookup without user authentication
andersonvass Jul 11, 2012 8:04 AM (in response to jaikiran)Thanks!