My webapp is using a JNDI connection to authenticate and so is Slide.
It would be nice to share them somehow.
Currently I have the WebDAVConnectionSpec username and password hardcoded to a 
valid one in ldap for testing.

      if (_factory == null){
              Context ic = new InitialContext();
              _factory = (WebDAVConnectionFactory) ic.lookup(jndi);
          }

      if (_spec == null){
            _spec = new WebDAVConnectionSpec(host, "operator", "operator",
timeout);
      }

             return (WebDAVConnection)_factory.getConnection(_spec);

Is there a way to cache or reuse the JNDI username/password that has
already been entered and authenticated from my JBoss/Tomcat webapp?
If not is there a nice way to save off the username/password so I can pass
it into the WebDAVConnectionSpec?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882843#3882843

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882843


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to