[jboss-as7-dev] EJB remote lookup without authentication

Wolf-Dieter Fink wfink at redhat.com
Tue Mar 6 11:17:18 EST 2012


sorry unclear,
I lookup with the name and try to call a method of the SLSB.
If I use JNDI it won't work (unless I add the user) if I use native ejb: 
the method of the SLSB is executed.

Wolf

On 03/06/2012 05:13 PM, Darran Lofthouse wrote:
> It is the communication with the server that is secured - if you switch
> to an approach that doesn't have a round trip with the server then there
> will be no need for authentication.
>
> Regards,
> Darran Lofthouse.
>
>
> On 03/06/2012 03:58 PM, Wolf-Dieter Fink wrote:
>> Hi,
>> if I lookup a SLSB in as 7.1.0.Final or 7.1.1 the JNDI call
>> 'my.ear/my.jar...' will not work without having a (application) user and
>> set the credential.
>> If I use native 'ejb:my.ear...' it will work nevertheless whether I set
>> username/password in jboss-ejb-client.properties or not.
>>
>> For standalone.xml the security looks enabled:
>> <subsystem xmlns="urn:jboss:domain:remoting:1.1">
>> <connector name="remoting-connector" socket-binding="remoting"
>> security-realm="ApplicationRealm"/>
>> </subsystem>
>>
>>
>> I use 7.1.0.FINAL and 7.1.1 upstream (~noon)
>>
>> Is this a BUG? Or is something changed between 7.1.0.SNAPSHOT and later?
>>
>> Wolf
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Red Hat GmbH
Technopark II, Building 1
Werner-von-Siemens-Ring 11-15
85630 Grasbrunn
Germany

Email: wfink at redhat.com
________________________________________________________________________
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera



More information about the jboss-as7-dev mailing list