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 17:21:03 GMT
Mansour...
Debug this class...

/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cli/MainImpl.java

processSystemProperties method

and check how your parameters are being managed by the server.

[]s,
Thiago.


On Fri, Aug 13, 2010 at 1:39 PM, Mansour Al Akeel <mansour.alakeel@gmail.com
> wrote:

> From org.apache.openejb.core.security.SecurityServiceImpl:
>
>
> public UUID login(String realmName, String username, String password)
> throws LoginException {
>    if (realmName == null){
>        realmName = getRealmName();
>    }
>    LoginContext context = new LoginContext(realmName, new
> UsernamePasswordCallbackHandler(username, password));
>    context.login();
>
>    Subject subject = context.getSubject();
>
>    UUID token = registerSubject(subject);
>    contexts.put(token, context);
>
>    return token;
> }
>
>
>
> realmName in the method arg is being called with null value. Which
> results in the default value being used. The default value for realmName
> is "PropertiesLogin" declared in AbstractSecurityService class.
>
>
> I was not able to dig further. Help from the development team will be
> appreciated.
>
> Thank you.
>
>
> On Fri Aug 13,2010 07:32 pm, Mansour Al Akeel wrote:
> > I noticed this. However, there's no luck.
> > THe work around you suggested,did the job. It's using the configuraiton
> > I need. As you mentioned, for now this is ok. I think I will have to
> > setup a remote debugger to resolve it completely.
> >
> > Thank you Thiago.
> >
>

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