On Fri, 2006-01-27 at 09:05 -0600, Buntin, Seth - KATE wrote: > t off, let me say that I am fairly new to Struts. I am pretty > efficient with Coldfusion and thought I would expand my horizons with > JSP and Struts. > > > > Now that being said I have a question. I work for a University and > most > of the applications I write for the web have LDAP authentication with > our domain controller. I can't seem to find much information about > how > to do this or where to start.
You can either do container managed authentication and authorisation (container == servlet engine), or implement it in your application. A middle ground is to use a servlet filter managing it for you. You can take a look at securityfilter.sf.net. In addition to the framework, you need some clue code that connects to your ldap server, which would be trivial to implement in a single class using JNDI. Or you may google for "JNDI realm" to see some existing code. Most security implementation uses url patterns to match requests to the appropriate security constraints, I guess this is what you're familiar with from coldfusion as well? -- Torgeir Veimo <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

