AW: Tomcat needs an authenticator valve for OpenID/MSAL!

2023-04-14 Thread Keil, Matthias (ORISA Software GmbH)
Hello > -Ursprüngliche Nachricht- > Von: Kevin Edward > Gesendet: Freitag, 7. April 2023 14:26 > An: users@tomcat.apache.org > Betreff: Tomcat needs an authenticator valve for OpenID/MSAL! > > Tomcat community, > > We have been using keycloak tomcat

Tomcat needs an authenticator valve for OpenID/MSAL!

2023-04-07 Thread Kevin Edward
Tomcat community, We have been using keycloak tomcat valves for SAML, but now we are moving to OpenID. Who in the tomcat community can create/support a tomcat authenticator valve using the MSAL library? I have the example authentication servlet working for MSAL below. Seems it could be easily

Re: [OT] Specifying a Custom Authenticator Class

2021-10-07 Thread Christopher Schultz
Jerry, On 10/6/21 15:09, Jerry Malcolm wrote: Chris, thanks so much.  But please bear with me.  I'm in the slow group I think I have a pretty good handle on creating the authenticator.  But take me from the top, using manager as an example. In the web.xml file it has login auth-method set

Re: [OT] Specifying a Custom Authenticator Class

2021-10-06 Thread Jerry Malcolm
Chris, thanks so much.  But please bear with me.  I'm in the slow group I think I have a pretty good handle on creating the authenticator.  But take me from the top, using manager as an example.  In the web.xml file it has login auth-method set to BASIC.  I'm assuming that invokes

Re: [OT] Specifying a Custom Authenticator Class

2021-10-05 Thread Christopher Schultz
the word "Malcolm" as the prefix instead of "Basic" that it should route to my custom Authenticator class? You'd have to install your own Authenticator (a Valve) in your . markt posted how to do this on 10/2 in this thread. You can look at how the BasicAuthenticator does th

Re: [OT] Specifying a Custom Authenticator Class

2021-10-05 Thread Jerry Malcolm
f TC finds an Authorization header with the word Basic, it will route to the standard BasicAuthenticator class.  What would I do in order to tell TC if it finds an auth header with the word "Malcolm" as the prefix instead of "Basic" that it should route to my custom Authenticator clas

Re: [OT] Specifying a Custom Authenticator Class

2021-10-05 Thread Christopher Schultz
h that is also covered by a specific RFC and might be confusing to overload that token ("Bearer") for another purpose. You could just do: Authorization: Malcolms [token] If you are going to write a custom authenticator, anyway. You'll need to have a custom client, of course, but y

Re: Specifying a Custom Authenticator Class

2021-10-05 Thread Christopher Schultz
and might be confusing to overload that token ("Bearer") for another purpose. You could just do: Authorization: Malcolms [token] If you are going to write a custom authenticator, anyway. You'll need to have a custom client, of course, but you will already have that kind of thing

Re: Specifying a Custom Authenticator Class

2021-10-05 Thread Mark Thomas
good point. Instead of: Authorization: Basic [base64stuff] Using "Bearer" might be a better choice, though that is also covered by a specific RFC and might be confusing to overload that token ("Bearer") for another purpose. You could just do: Authorization: Malcolm

Re: Specifying a Custom Authenticator Class

2021-10-04 Thread Jerry Malcolm
C and might be confusing to overload that token ("Bearer") for another purpose. You could just do: Authorization: Malcolms [token] If you are going to write a custom authenticator, anyway. You'll need to have a custom client, of course, but you will already have that kind of thing because no st

Re: Specifying a Custom Authenticator Class

2021-10-04 Thread Christopher Schultz
ter choice, though that is also covered by a specific RFC and might be confusing to overload that token ("Bearer") for another purpose. You could just do: Authorization: Malcolms [token] If you are going to write a custom authenticator, anyway. You'll need to have a custom client

Re: Specifying a Custom Authenticator Class

2021-10-03 Thread Michael Osipov
Am 2021-10-02 um 02:48 schrieb Jerry Malcolm: I need to write a custom BasicAuthenticator class to decode a specialized encoding of the authToken.  I have been scouring google for info.  I found one post where the answer included the statement: This would clearly violate Basic auth scheme and

Re: Specifying a Custom Authenticator Class

2021-10-03 Thread Christopher Schultz
great idea, and you can avoid Tomcat's standard authenticator by configuring your authenticator as a in your application's META-INF/context.xml file." That is  precisely what I want to do. But I cannot find any documentation on how to configure a different authenticator class in a contex

Re: Specifying a Custom Authenticator Class

2021-10-02 Thread Mark Thomas
idea, and you can avoid Tomcat's standard authenticator by configuring your authenticator as a in your application's META-INF/context.xml file." That is  precisely what I want to do. But I cannot find any documentation on how to configure a different authenticator class in a context.xml

Specifying a Custom Authenticator Class

2021-10-01 Thread Jerry Malcolm
ndard authenticator by configuring your authenticator as a in your application's META-INF/context.xml file." That is  precisely what I want to do. But I cannot find any documentation on how to configure a different authenticator class in a context.xml file.  I'm sure I'm just missing it, or

Re: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-26 Thread Christopher Schultz
Stefan, On 1/25/21 17:19, Stefan Mayr wrote: Am 25.01.2021 um 19:04 schrieb Christopher Schultz: All, On 1/25/21 11:10, Christopher Schultz wrote: All, Off-topic, but I know there are plenty of Spring users on this list who can probably help me figure this out. Recently, Let's Encrypt

Re: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Stefan Mayr
Am 25.01.2021 um 19:04 schrieb Christopher Schultz: > All, > > On 1/25/21 11:10, Christopher Schultz wrote: >> All, >> >> Off-topic, but I know there are plenty of Spring users on this list >> who can probably help me figure this out. >> >> Recently, Let's Encrypt switched from using their

Re: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Christopher Schultz
All, On 1/25/21 11:10, Christopher Schultz wrote: All, Off-topic, but I know there are plenty of Spring users on this list who can probably help me figure this out. Recently, Let's Encrypt switched from using their soon-to-be-expiring intermediate certificate: Owner:  CN=Let's Encrypt

Re: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Greg Huber
Maybe try removing the old cert as its not expired yet? On 25/01/2021 16:10, Christopher Schultz wrote: Alias name: letsencrypt Creation date: Dec 12, 2016 Entry type: trustedCertEntry Owner: CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US Issuer: CN=DST Root CA X3, O=Digital Signature

RE: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Johnson, Jim
to me, that's the only thing that looked off. HTH - Jim -Original Message- From: Christopher Schultz Sent: Monday, January 25, 2021 11:11 AM To: Tomcat Users List Subject: [OT] Spring Security LDAPS authenticator won't trust TLS cert CAUTION EXTERNAL EMAIL: This email originated from o

[OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Christopher Schultz
All, Off-topic, but I know there are plenty of Spring users on this list who can probably help me figure this out. Recently, Let's Encrypt switched from using their soon-to-be-expiring intermediate certificate: Owner: CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US Issuer: CN=DST

Re: Add custom Authenticator in context.xml

2020-07-07 Thread Stephane Passignat
Authenticator in context.xml Date: Sat, 4 Jul 2020 20:54:17 +0200 Hi, a while ago I did write a little POC of how to add a customauthenticator scheme to tomcat. this is what I did come up with: https://github.com/thomasmey/BearerTokenAuthenticator It's rather complicated solution!Is there an more easy

Re: Add custom Authenticator in context.xml

2020-07-06 Thread Thomas Meyer
Am 6. Juli 2020 14:14:59 MESZ schrieb Mark Thomas : >On 04/07/2020 19:54, Thomas Meyer wrote: >> Hi, >> >> a while ago I did write a little POC of how to add a custom >> authenticator scheme to tomcat. >> >> this is what I did come u

Re: Add custom Authenticator in context.xml

2020-07-06 Thread Mark Thomas
On 04/07/2020 19:54, Thomas Meyer wrote: > Hi, > > a while ago I did write a little POC of how to add a custom > authenticator scheme to tomcat. > > this is what I did come up with: > https://github.com/thomasmey/BearerTokenAuthenticator > > It's rather complicated s

Add custom Authenticator in context.xml

2020-07-04 Thread Thomas Meyer
Hi, a while ago I did write a little POC of how to add a custom authenticator scheme to tomcat. this is what I did come up with: https://github.com/thomasmey/BearerTokenAuthenticator It's rather complicated solution! Is there an more easy solution to add a custom authenticator scheme

Re: Custom Authenticator

2016-06-04 Thread Thomas Meyer
he.org/tomcat-8.0-doc/api/org/apache/catalina/st > > art > up/ContextConfig.html#setCustomAuthenticators(java.util.Map) > > > > > > > ) > > > > > > I want to add a custom mapping for lets say BEARER to a my > > Authenticator. I

Re: Custom Authenticator

2016-06-01 Thread Christopher Schultz
textConfig.html#setCustomAuthenticators(java.util.Map) > > ) > > I want to add a custom mapping for lets say BEARER to a my > Authenticator. I searched the source code but nobody seems to call > this method. So how and where should this map be configured? Do you mean that you want to repla

Custom Authenticator

2016-06-01 Thread Thomas Meyer
Hi, How do I get a custom mapping set in ContextConfig.setCustomAuthenticators? ( https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/startup/ContextConfig.html#setCustomAuthenticators(java.util.Map) ) I want to add a custom mapping for lets say BEARER to a my Authenticator

[SECURITY] CVE-2013-2067 Session fixation with FORM authenticator

2013-05-10 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2013-2067 Session fixation with FORM authenticator Severity: Important Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 7.0.0 to 7.0.32 - - Tomcat 6.0.21 to 6.0.36 Description: FORM authentication associates the most recent

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-28 Thread André Warnier
that the first gss_accept_sec_context makes the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain the connection state too. Tomcat does not do that which means that the current SPNEGO authenticator has to issue a Connection: close after

Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
Hi, several authentication mechanisms require a session (*not* HTTP session) or connection being initiated when authentication is performed and principal cached for subsquent requests [1], [2]. Now, I want to patch our SPNEGO authenticator in Tomcat 6 to behave stateful. I once contributed

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Mark Thomas
On 27/10/2012 14:50, Michael-O wrote: Hi, several authentication mechanisms require a session (*not* HTTP session) or connection being initiated when authentication is performed and principal cached for subsquent requests [1], [2]. Now, I want to patch our SPNEGO authenticator in Tomcat 6

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
to patch our SPNEGO authenticator in Tomcat 6 to behave stateful. I once contributed that code to Apache in bug 48465 [3] which does not behave like that. I like to align both authenticators. This issue initially popped up while fixing an issue in libserf [4] for the upcoming Apache Subversion version

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Mark Thomas
this is the major internal surgery I was referring to. You might be able to add an API to store/retrieve data to/from the connection (similar to notes on the session, but at the connection level) and access this from the authenticator (that is a lot further up the stack). That could still end up being

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
not complicate things). Undoing this is the major internal surgery I was referring to. You might be able to add an API to store/retrieve data to/from the connection (similar to notes on the session, but at the connection level) and access this from the authenticator (that is a lot further up the stack

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Mark Thomas
this from the authenticator (that is a lot further up the stack). That could still end up being pretty invasive. OK that's a statement. Tomcat does fully support persistent connections but there is no state information maintained, right? Correct. Tomcat fully supports HTTP/1.1 and that requires

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain the connection state too. Tomcat does not do that which means that the current SPNEGO authenticator has to issue a Connection: close after successful auth. Otherwise the client

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Mark Thomas
makes the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain the connection state too. Tomcat does not do that which means that the current SPNEGO authenticator has to issue a Connection: close after successful auth. Otherwise

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Michael-O
to me. As this [1] draft lays out Negotiate and Kerberos may apply to connection or request level auth. We are just lucky that the first gss_accept_sec_context makes the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain

RE: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread ken dias
Yes W8 is here but HPQ is still plummeting. Get rid of your CEO and get someone who can improve your stock price! Date: Sat, 27 Oct 2012 19:57:30 +0200 From: 1983-01...@gmx.net To: users@tomcat.apache.org Subject: Re: Detect in an authenticator whether a connection is persistent

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Hassan Schroeder
On Sat, Oct 27, 2012 at 11:36 AM, ken dias kend...@hotmail.com wrote: Yes W8 is here but HPQ is still plummeting. Get rid of your CEO and get someone who can improve your stock price! Que? -- Hassan Schroeder hassan.schroe...@gmail.com

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread Mark Thomas
the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain the connection state too. Tomcat does not do that which means that the current SPNEGO authenticator has to issue a Connection: close after successful auth. Otherwise the client

Re: Detect in an authenticator whether a connection is persistent or not

2012-10-27 Thread 1983-01-06
gss_accept_sec_context makes the context complete in the SPNEGO authenticator. Some clients maintain the state and rely on the server to maintain the connection state too. Tomcat does not do that which means that the current SPNEGO authenticator has to issue a Connection: close after successful

Re: tomcat security authenticator

2012-06-28 Thread Konstantin Kolinko
2012/6/28 Komáromi, Zoltán komaromi.zol...@horticosoft.hu: Hi, I need to use custom authenticator, because a part of application is using container authentication, and unfortunately the usersernames in realm conflicts with usernames in application database. :( So I need, that if anibody

Re: tomcat security authenticator

2012-06-28 Thread Komáromi , Zoltán
to org.apache.catalina.authenticator.FormAuthenticator. Tnaks for help. 2012/6/28 Konstantin Kolinko knst.koli...@gmail.com: 2012/6/28 Komáromi, Zoltán komaromi.zol...@horticosoft.hu: Hi, I need to use custom authenticator, because a part of application is using container authentication

Re: tomcat security authenticator

2012-06-28 Thread Jose María Zaragoza
2012/6/28 Komáromi, Zoltán komaromi.zol...@horticosoft.hu: 1. Why not a Realm? Because the authentication depends on session attribute, and I want to bypass the form if user is logged in. When I used Tomcat's realm to authenticate users , that was a issue than I missed : to access to session

Re: tomcat security authenticator

2012-06-28 Thread Kris Easter
I think, if I replace the FormAuthenticator with an descendant, it'll solve the problem. To extend FormAuthenticator is simple, but how can I make Tomcat to use it? I tested this out at one time but it was never placed in production. My terse notes, which might be leaving something out, on

RE: tomcat security authenticator

2012-06-28 Thread Martin Gainty
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Subject: Re: tomcat security authenticator From: kris.eas...@colorado.edu To: users

Re: tomcat security authenticator

2012-06-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zoltán, On 6/28/12 4:08 AM, Komáromi, Zoltán wrote: 1. Why not a Realm? Because the authentication depends on session attribute, and I want to bypass the form if user is logged in. So is this correct? Valve

Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
I am trying to help someone with a Tomcat 5.5 implementation of waffle (waffle.codeplex.com). It has authenticator valve that works well with tc6. I declare a valve inside the web app: Context.xml ?xml version='1.0' encoding='utf-8'? Context Valve className

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
2010/11/2 dB. dbl...@dblock.org: I am trying to help someone with a Tomcat 5.5 implementation of waffle (waffle.codeplex.com). It has authenticator valve that works well with tc6. I declare a valve inside the web app: Context.xml ?xml version='1.0' encoding='utf-8'? Context  Valve

RE: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
, it's waffle.apache. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, November 02, 2010 8:39 AM To: Tomcat Users List Subject: Re: Tomcat 5.5: how doesone configure an authenticator valve? 2010/11

RE: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
- From: dB. [mailto:dbl...@dblock.org] Sent: Tuesday, November 02, 2010 4:55 PM To: Tomcat Users List Subject: RE: Tomcat 5.5: how doesone configure an authenticator valve? Thanks for your help. I should have done this (logging) in the first place, sorry. The filter is invoked properly. The new

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
2010/11/3 dB. dbl...@dblock.org: After some more code-reading I found the problem. Looking at the implementation of response.sendError in TC5, it's clear that it dumps whatever headers you added prior to the call. Changing this to setStatus fixed the problem. I assume this means that Tomcat

Re: Tomcat Custom Authenticator

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 8/14/2009 2:24 PM, Daniel Stephens wrote: For Security reasons, We need to do logging for IP,username, etc(AUDIT). We need to log success and failed attempts. We don't want to modify the internal classes(unless it's impossible).

Tomcat Custom Authenticator

2009-08-14 Thread Daniel Stephens
Need some help or advice.. For Security reasons, We need to do logging for IP,username, etc(AUDIT). We need to log success and failed attempts. We don't want to modify the internal classes(unless it's impossible). We are using the FORM auth-method, we POST to j_security_check. We have

Re: Tomcat Custom Authenticator

2009-08-14 Thread Mark Thomas
Daniel Stephens wrote: Need some help or advice.. For Security reasons, We need to do logging for IP,username, etc(AUDIT). We need to log success and failed attempts. We don't want to modify the internal classes(unless it's impossible). We are using the FORM auth-method, we POST

Re: Tomcat's container architecture - Authenticator

2007-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Barker wrote: Suggestions on how to improve the Authenticators that ship with TC are always welcome on [EMAIL PROTECTED] But help on rolling-your-own-Authenticator will likely get you pointed back to this list :). The original

RE: Tomcat's container architecture - Authenticator

2007-11-28 Thread Bárbara Vieira
- Authenticator Hi Bárbara, i can help you because I'm doing a new authenticator as work of my thesis. I have analyzed BasicAuthenticator and modified it; could you tell me the right point of your problem? - Messaggio originale - Da: Bárbara Vieira [EMAIL PROTECTED] A: users

Re: Tomcat's container architecture - Authenticator

2007-11-28 Thread Carlo Politi
Only a question: what do you have to do with this auth? do you need to develope a new one or simply study it? ___ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it

Re: Tomcat's container architecture - Authenticator

2007-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barbara, Bárbara Vieira wrote: My question is: why we are putting the Principal in the Request? So that request.getUserPrincipal() will return a value. Why we can’t just authenticate the user if there is a principal in internal Session?!

RE: Tomcat's container architecture - Authenticator

2007-11-28 Thread Bárbara Vieira
Hi Carlo!! In fact I have to develop a new one and at the same time study and analyze Authenticator package code. Why are you asking? -Original Message- From: Carlo Politi [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 28 de Novembro de 2007 16:52 To: Tomcat Users List Subject: Re

RE: Tomcat's container architecture - Authenticator

2007-11-28 Thread Bárbara Vieira
to call the authenticator method(FormAuthenticator)? That call doesn't provide any additional security, can you understand now? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 28 de Novembro de 2007 17:09 To: Tomcat Users List Cc: 'Carlo Politi

Re: Tomcat's container architecture - Authenticator

2007-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bárbara, Bárbara Vieira wrote: But if we have the Principal in cache, why we have to call the authenticator method(FormAuthenticator)? That call doesn't provide any additional security, can you understand now? That's a good question. Given

Re: Tomcat's container architecture - Authenticator

2007-11-28 Thread Bill Barker
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bárbara, Bárbara Vieira wrote: But if we have the Principal in cache, why we have to call the authenticator method(FormAuthenticator)? That call doesn't provide any

Tomcat's container architecture - Authenticator

2007-11-27 Thread Bárbara Vieira
Hi there! This question is about Authenticator package. I appreciate if anyone can help me. I’m implementing a Valve and a Realm to provides authentication and authorization using two authentications methods at the same time : FORM and CERT-CLIENT. Obviously, I’m looking to authenticator

scheme of the Life Cycle of an authenticator

2007-11-21 Thread Carlo Politi
Good day, where can i find a scheme of the life cycle of authenticator? thanks... ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

Authenticator

2007-10-30 Thread Carlo Politi
Hello, does anybody know how I can contact some of Tomcat's team to be able to submit my new authenticator? Thanks... -- Carlo Politi eMail: [EMAIL PROTECTED] WebPage: http://politi.carlo.googlepages.com

Re: Authenticator

2007-10-30 Thread Mark Thomas
Carlo Politi wrote: Hello, does anybody know how I can contact some of Tomcat's team to be able to submit my new authenticator? Thanks... Have you tried reading http://tomcat.apache.org ? Mark - To start a new topic, e

Re: help required for writing custom Authenticator

2007-10-19 Thread Bill Barker
This is why it is rare to write a custom Authenticator. More often you write a custom Realm to do this sort of thing. You only need an Authenticator if you have some non-standard way of extracting the user credentials from the Request. The problem with the code below is that it doesn't call

custom Form authenticator

2006-10-14 Thread Pid
Am thinking about implementing a custom Form authenticator, does anyone have any tips or links they can recommend before i get started? Particularly want to know if I can use it on one webapp, not force all on the server to use it too. cheers, pid

Re: custom Form authenticator

2006-10-14 Thread Christopher Schultz
Pid, Am thinking about implementing a custom Form authenticator, does anyone have any tips or links they can recommend before i get started? Particularly want to know if I can use it on one webapp, not force all on the server to use it too. http://securityfilter.sourceforge.net You can

Re: custom Form authenticator

2006-10-14 Thread Bill Barker
Pid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Am thinking about implementing a custom Form authenticator, does anyone have any tips or links they can recommend before i get started? Particularly want to know if I can use it on one webapp, not force all on the server to use

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
and have it referenced in the server.xml as your custom realm. Is there a class-name element I can add perhaps under security-constraint element? I like to add something like this to let tomcat know that it should use this for authentication instead.. ??? authenticator class

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
a customized Ream and have it referenced in the server.xml as your custom realm. Is there a class-name element I can add perhaps under security-constraint element? I like to add something like this to let tomcat know that it should use this for authentication instead.. ??? authenticator

Re: Adding a Customized authenticator

2006-02-25 Thread Bill Barker
use this for authentication instead.. ??? authenticator class-namecom.xxx.MyAuthenticator/class-name /authenticator ??? The syntax is: Context ... Valve className=com.xxx.MyAuthenticator ... / /Context Any other attributes you specify on the Valve / element will be passed JavaBean

RE: Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
So where would this go? under /security-constraint ?? can you be more specific. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, February 25, 2006 1:15 PM To: users@tomcat.apache.org Subject: Re: Adding a Customized authenticator Alex

Re: Adding a Customized authenticator

2006-02-25 Thread Bill Barker
://tomcat.apache.org/tomcat-5.5-doc/config/context.html for more details. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, February 25, 2006 1:15 PM To: users@tomcat.apache.org Subject: Re: Adding a Customized authenticator Alex Jalali [EMAIL

RE: Custom Authenticator

2006-02-03 Thread Stefan Baramov
@tomcat.apache.org | Subject: Custom Authenticator | | | Hi, | I need to implement my custom authenticator to do some extra | comfig i user session beside the authentication. How can I | achive this? Is there a way to do authentication besides | rigid j_check_security? | | -- | from debian manifesto

Custom Authenticator

2006-02-02 Thread Arash Bijanzadeh
Hi, I need to implement my custom authenticator to do some extra comfig i user session beside the authentication. How can I achive this? Is there a way to do authentication besides rigid j_check_security? -- from debian manifesto: Debian Linux is a brand-new kind of Linux distribution. Rather

Re: Custom Authenticator

2006-02-02 Thread David Smith
Have You thought about a request filter? All it has to do is watch for authenticated sessions that are missing some critical session attributes. Fill in the missing info as needed. -David Arash Bijanzadeh wrote: Hi, I need to implement my custom authenticator to do some extra comfig i user

Custom Authenticator in tomcat 4 ?

2006-02-02 Thread Andreas Rehn
Hi, Is it possible to have a custom Authenticator in tomcat 4.1? I can't find any information about it, only for 5x. I have tried configuring a WEB-INF/context.xml with a valve referencing my authenticator class, works well in tomcat 5.5, but not in 4.1 (which is currently the version we