Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-09 Thread Ken Johanson
I'm trying to re-word these two concepts in a more elegant way: 1) I'm looking for a way to use form based authentication - but unlike with the current form login Realm, I need a way to intercept the persons email address(s) (typed into the username field), so that I can convert that into its

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-07 Thread Mark Thomas
Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark - To

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-07 Thread Ken Johanson
Mark Thomas wrote: Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark Okay - do you have any pointers for this need?: (please

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-06 Thread Ken Johanson
Mark Thomas wrote: Given users are going to have to modify their app to use this library, not modifying the associated context.xml looks to be a nice to have requirement that is making things more difficult. Removing this requirement opens up a number of alternative implementation options

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-22 Thread Mark Thomas
Ken Johanson wrote: ... I'm trying to write a facade API that will call into whatever Realm/Authenticator that the user already has configured (though an abstract/overridden method)... the idea being that no changes to the user's existing auth config or modules are required, nor that the

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-20 Thread Mark Thomas
Ken Johanson wrote: Mark Thomas wrote: Ken Johanson wrote: I am able to access the current context's org.apache.catalina.Realm object using Yoav Shapira's Tomcat-Realm example; however, when I call Realm.authenticate(String user, String pass), the Principal object that it returns is not

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-20 Thread Ken Johanson
... I'm trying to write a facade API that will call into whatever Realm/Authenticator that the user already has configured (though an abstract/overridden method)... the idea being that no changes to the user's existing auth config or modules are required, nor that the user should need to change

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-19 Thread Mark Thomas
Ken Johanson wrote: Hi all, I am able to access the current context's org.apache.catalina.Realm object using Yoav Shapira's Tomcat-Realm example; however, when I call Realm.authenticate(String user, String pass), the Principal object that it returns is not being registered with the

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-19 Thread Ken Johanson
Mark Thomas wrote: Ken Johanson wrote: Hi all, I am able to access the current context's org.apache.catalina.Realm object using Yoav Shapira's Tomcat-Realm example; however, when I call Realm.authenticate(String user, String pass), the Principal object that it returns is not being registered