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

Darran Lofthouse darran.lofthouse at jboss.com
Tue Mar 6 11:23:43 EST 2012


Can you please show both your JNDI configuration and the EJB client 
configuration?

Also is this call on the same machine as the server or truely remote?

Regards,
Darran Lofthouse.

On 03/06/2012 04:17 PM, Wolf-Dieter Fink wrote:
> 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
>
>


More information about the jboss-as7-dev mailing list