Announcement Announcement Module
Collapse
No announcement yet.
Authentication without Backing Bean Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Authentication without Backing Bean

    Hi Members,

    I am trying to use Acegi with JSF. I want to authenticate users without using any Backing Bean. What is the procedure for this?
    I mean what should I mention in my JSF page and faces-config.xml.
    Awaiting response.

  • #2
    I'm sorry I don't understand what you're actually asking for here, any chance of some more information?

    Comment


    • #3
      Hi karldmoore,

      What I meant to say was that, when using simple html forms we just mention <form action="j_acegi_security_check" method="post"> and then the AuthenticationProcessingFilter comes into action but how does Acegi come into picture when using JSF. It would be very helpful if you could send me a sample login jsf page and faces-config.xml. I hope you understand my problem or if I am moving in a wrong direction then please guide me.Thanks.

      Comment


      • #4
        Originally posted by carp View Post
        What I meant to say was that, when using simple html forms we just mention <form action="j_acegi_security_check" method="post"> and then the AuthenticationProcessingFilter comes into action but how does Acegi come into picture when using JSF. It would be very helpful if you could send me a sample login jsf page and faces-config.xml.
        I believe you'll need some kind of backing mechanism as described in http://forum.springframework.org/showthread.php?t=29425 and http://www.javakaffee.de/blog/2006/0...-backing-bean/. In this case it is a managed JSF bean. Something I tried is to modify the code from this sample and put the call to this object via DI into the page backing bean, which is a standard in the Creator/VisualWeb programming model.

        But what I didn't get run with this technique is different authorization for different directories together with a working AccessDeniedHandler.

        Btw. I'm searching such an example too (http://forum.springframework.org/showthread.php?t=35661, http://forum.springframework.org/showthread.php?t=35736).

        jiai
        Last edited by jiai; Mar 6th, 2007, 07:26 AM.

        Comment

        Working...
        X