Web Login Form question

Discussion in 'Java' started by Erez, Jul 8, 2003.

  1. Erez

    Erez Guest

    Hi,

    I am running JBoss/Tomcat/Struts using the JAAS for handling the application
    security aspects. I have used the <auth-method>FORM</auth-method> clauses
    inside the Web.xml file.

    In my web site I want to have the site home page to have also a small login
    form where the user could enter username and password and login to the site.
    The home page, contains other links as well, which lead to other parts of
    the site or even to external pages on other sites.

    From what I've read so far, it seems to me that the FORM method is activated
    only when the web user tries to access a protected page. Then the Web Server
    (Tomcat in my case) returns the loginPage stated in the Web.xml file, and
    only after the login is performed (j_security_check) the Tomcat then
    redirects the web user to the original portected page.

    Is it possible to have the site home page as the login page still using
    mechanisms of FORM and JAAS? If so I would really appreciate any help on how
    to do it, and what are the configurations required.

    Thanks,
    Erez
     
    Erez, Jul 8, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cgian31
    Replies:
    11
    Views:
    974
    Oliver Wong
    Oct 21, 2005
  2. DavidADEW
    Replies:
    2
    Views:
    2,859
    DavidADEW
    Sep 1, 2006
  3. Replies:
    5
    Views:
    998
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Jun 12, 2007
  4. manu
    Replies:
    1
    Views:
    974
    Evans
    Jul 20, 2008
  5. Bruce
    Replies:
    5
    Views:
    409
    Joseph MCAD
    Apr 11, 2005
  6. Rob R. Ainscough
    Replies:
    3
    Views:
    591
    Rob R. Ainscough
    Jun 14, 2005
  7. cgian31
    Replies:
    4
    Views:
    256
    McKirahan
    Oct 25, 2005
  8. cgian31
    Replies:
    0
    Views:
    184
    cgian31
    Oct 20, 2005
Loading...