JSF - Tomcats Realm - General Question

Hi @ ll,

I've written a wep app in JSF.

Evererything works fine. Also the autentification by Tomcats JDBC Realm.

My problem is. only the login is not written in JSF, cause every form get id prefix.

I know its "normal" in in JSF.

But Tomcat expect a submit "j_security_check" without a prifix like "_id0:".

I don't know to figure it out.

I've had a look into the Jaas dokumentation. It will take some hours/days to lean it.

And I think Jaas is overdosed for my very simple webapp.

Now my general Questen:

Is it posible to write a simple form based login in Java Server Pages to use Tomcats Realm?

Is there a simple alternative to Jaas?

THX 4 your advise.

esion

[747 byte] By [@esiona] at [2007-11-27 8:02:43]
# 1
Sorry Is it posible to write a simple form based login in Java Server Pages to use Tomcats Realm?Sorry I do not mean Java Server Pages, correct is Java Server Faces
@esiona at 2007-7-12 19:44:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
http://forum.java.sun.com/thread.jspa?messageID=9724817
@esiona at 2007-7-12 19:44:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
It's not possible with the default set of components. That said, there may be a component set that provides a form-based authentication component, but off the top of my head I'm no aware of one.It wouldn't be that difficult to roll your own either.
rlubkea at 2007-7-12 19:44:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...