Your login is looking for a doPost method in the servlet you are trying to
reach. I am guessing that your servlet already has a doGet method, just add
a doPost method to your servlet, you could just put in something like this
to just check if that is your problem.
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
doGet(req, res);
}
There are some problems with the EJBUserManager, I have given up on it. I
was trying to add users to a database and assign users to a role/group...I
was able to add users to the database, but I wasted more than a week of time
trying to add them to a group.
Only use the EJBUserManager or DataSourceUserManager if you don't need to
assign users to a group or if you need to assign users to a group then you
stay with the principals.xml file.
----- Original Message -----
From: "Matt Bauer" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 10:16 AM
Subject: Problems authenticating
> I have a simple app (very similiar to the pet store) that uses form
> based login. I can created an account and see it created in the
> appropriate principals.xml file. The problem is every time I use my
> form based login I get an error: 400 Bad request: HTTP method POST is
> not supported by this URL. My form uses action="j_security_check"
> method="post" just like its suppose to. Any one know why this fails.
> Also, I plan on using EJBUserManager, but the docs for it stink. What
> do I have to add to my orion-application.xml or other xml files to make
> this thing work?
>
> Thanks
>
> M
>
>
>