Hi
I am trying to modify the seam-booking app to redirect to https when the user
logs in.
What I would like is for the user to enter the site using http and after
entering their username and password and clicking on the *account login*
button, the site *goes secure*.
I have tried to redirect
I would think so.
All the other functions of retrieving data from the database and displaying it
in datatables are working fine in my web app. It is just the bean that is
called by the servlet, where the em is null and I cant seem to instantiate it.
The persistance.xml
|
|
|
I have the following
| @Stateless
| @Name("envelopeUpload")
| public class EnvelopeUploadBean implements EnvelopeUpload, Serializable
| {
|
| @PersistenceContext
| private EntityManager em;
|
| .
|
|
I have even tried with the unit name of the context ( t
Hi James
I have changed the servlet mapping to be /servlet/ and added the filter
code to the web.xml file in my application as per your code snippet.
I am able to call the doPost method in my servlet which in turn calls
|
| EnvelopeUploadBean uploader = null;
|
I have a servlet that is calling a Bean in my seam application.
The servlet is working correctly and calls the Bean correctly, but when the
bean needs to call the em.persist(object) method, the em is null.
I used this bean in my app using beta1 and used an initial context lookup
|
Hi
I am trying to do the following:
I have a dataTable in an xhtml file that displays the contents of a List
At the moment I have to click on the search button to access the database to
populate the List. The data is then displayed in the table.
I would like to have the list populated when th
I get the following with DEBUG on:
2005-11-30 12:32:56,520 DEBUG [org.apache.catalina.authenticator.AuthenticatorBa
| se] Security checking request POST /formmanagement/j_security_check
| 2005-11-30 12:32:56,520 DEBUG
[org.apache.catalina.authenticator.FormAuthenticat
| or] Checking for re
I am trying to get my web app to use a fedora-ds LDAP instance to log me into
the app.
I have the following in the jboss-web.xml
java:/jaas/LdapLogin
The entry in the login-config.xml is
|
|
| ldap://192.168.1.2:389/
|
|
I am in the process of trying to do a proof of concept for application logins.
Background:
Application running on JBoss-4.0.3, using form based authentication to a
Fedora-DS LDAP server for login.
I have modified the LoginModulesTestCase from the wiki to do the following:
AppConfig