[JBoss-user] jboss-jaas.jar LdapLoginModule enhancements?

2001-06-01 Thread Steve Swing

I've modified LdapLoginModule to use a different ctx.search() method because
of how user roles are defined in my directory--based on group membership
instead of role attributes on each user. I tried to keep my modifications so
the auth.conf is compatible with either search method. I need advice on what
to do with my changes. I don't want to have to update this one class in
jboss-jaas.jar with every new release; OK for quick testing but not for long
term. I could remove my changes and extend the original class but since
almost all the important work is done in the createLdapInitContext()
method overriding it seems like too much duplicated code.

Can I submit the source for review and potentially have my changes merged
into the source tree? Recommendations?

Steve Swing



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] seperate context

2001-05-09 Thread Steve Swing


- Original Message -
From: Ferguson, Doug [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 09, 2001 12:37 pm
Subject: [JBoss-user] seperate context


 Or some way to prevent us from stepping on each others toes, other
 than installing jboss on our local machines.

Out of curiosity, do you have specific reasons why you don't want to install
JBoss on your local machines?

Regards,

Steve


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] HOWTO get web app relative file system path from a JSP (was (no subject))

2001-05-07 Thread Steve Swing


- Original Message -
From: Felix Munoz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 4:25 am
Subject: [JBoss-user] (no subject)


 Hello:

 I am having a problem running a JSP and I was hoping for some advice. I am
 running embedded Tomcat.

 I have the following setup:

 index.jsp
 directory/fileA.txt
 directory/fileB.txt

 The job of index.jsp is to list the files in directory. For this, I was
 trying to use something like this:

 File directory = new File(directory)
 String[] fileList = directory.list();



Did you try any of these scriptlets (using your example)?

% File directory = new File(application.getRealPath(directory)) %
% File directory = new
File(application.getResource(directory).toExternalForm()) %
% application.getResourceAsStream(directory) %

According to the documentation getResourceAsStream() will read resources
from a war file if it wasn't extracted during deployment. Some application
servers don't extract ears, wars,  jars during deployment unless you
instruct it to do so. This probably doesn't apply to your situation because
you're serving files from a directory.

 So the question is, is there a way to list files in a directory by using a
 path relative to the location of a JSP page?


I was going to suggest using something like the IO taglib from
Apache-Jakarta http://jakarta.apache.org/taglibs/index.html. Unfortunately
the IO taglib link on this page is broken. I don't know if it contains a tag
specifically for this purpose but it seems like the best candidate. Perhaps
you should write a tag library to list files. I suspect taglibs already
exist that do this. I just didn't know of any other taglib lists off-hand.

 Thanks in advance,

 Felix Munoz

I hope this is helpful.

Regards,

Steve Swing


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Unsubscribe?

2001-04-30 Thread Steve Swing

Unsubscribe?Go here: http://lists.sourceforge.net/lists/listinfo/jboss-user

JBoss-user Subscribers section toward the bottom of the page (last form
field on the page).

- Original Message -
From: White, Joshua
To: '[EMAIL PROTECTED]'
Sent: Monday, April 30, 2001 2:08 pm
Subject: [JBoss-user] Unsubscribe?


Does anybody know how to unsubscribe?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user