tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Veronezi <thi...@veronezi.org>
Subject Re: Ldap Jaas and standalone container
Date Fri, 13 Aug 2010 10:13:07 GMT
Hi Mansour,
The README.txt file talks about a handy property overriding feature... :O)

./bin/openejb start -DMyDataSource.username=foo

Could you try to call...
./bin/openejb start -Dopenejb.authentication.realmName=SQLLoginModule
?

tkx,
Thiago.


On Fri, Aug 13, 2010 at 5:55 AM, Thiago Veronezi <thiago@veronezi.org>wrote:

> Hi Mansour,
> I've made a grep over the conf folder and I found a "realmName" proterty
> on
> /openejb-3.1.2/conf/cxf.properties
>
> Try to uncomment that config and set
>
> realmName = SQLLoginModule
> hope that helps...
>
> []s,
> Thiago
>
>
> On Thu, Aug 12, 2010 at 10:12 PM, Mansour Al Akeel <
> mansour.alakeel@gmail.com> wrote:
>
>> Thiago:
>> I still think there's some misunderstanding. I have created the
>> MyLdapLogin configuration, the issue is telling openEJB to use it.
>>
>> To make thinks simpler, how can I tell openEjb to use SQLLogin. Please
>> note that I am using openEJB from the command wrapper using:
>>
>> ${openejb.base}/bin/openejb start
>>
>> Thank you in advance.
>>
>>
>> On Thu Aug 12,2010 12:47 pm, Thiago Veronezi wrote:
>> > Hi Mansour,
>> > I think it does...
>> >
>> > Set your realmName here: ${openejb.base}/conf/login.config
>> > Use one of the existing realms as example of how to declare it.
>> >
>> > Then set...
>> > props.setProperty("openejb.authentication.realmName", "YourRealmName");
>> //
>> > optional
>> >
>> > []s,
>> > Thiago.
>> >
>> > On Thu, Aug 12, 2010 at 11:34 AM, Mansour Al Akeel <
>> > mansour.alakeel@gmail.com> wrote:
>> >
>> > > Hi Thiago:
>> > > I 've had a look at this page earlier. However it doesn't show how to
>> > > use the SQLLogin Module to authenticate. By default it uses the
>> > > PropertiesLogin.
>> > > I hope this makes things clear. With regard to the the LDAP login
>> > > module, I am not worried about it at this point. The main issue is how
>> > > to configure the standalone ejb container to use different realm !
>> > >
>> > >
>> > > On Thu Aug 12,2010 10:02 am, Thiago Veronezi wrote:
>> > > > Hi Mansour,
>> > > > Check this link...
>> > > > http://openejb.apache.org/3.0/security.html
>> > > > <http://openejb.apache.org/3.0/security.html>My guess is that
you
>> will
>> > > > probably need to create your own loginModule for that.
>> > > > []s,
>> > > > Thiago.
>> > > >
>> > > > On Thu, Aug 12, 2010 at 9:43 AM, Mansour Al Akeel <
>> > > mansour.alakeel@gmail.com
>> > > > > wrote:
>> > > >
>> > > > > I am devleoping an application and testing it using the standalone
>> > > > > openejb. The default configuraiton for the security uses
>> > > > > PropertiesLogin, and there's the SQLLogin. Both are located at
>> > > > > $OPENEJB_HOME/conf/login.properties.
>> > > > >
>> > > > > How do I configure the standalone container to use something
other
>> that
>> > > > > PropertiesLogin ?
>> > > > >
>> > > > > Anyone had success with a directory services (ie, apacheDS,
>> openLDAP) ?
>> > > > >
>> > > > >
>> > > > >
>> > >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message