Thanks for that reply Dave. Actually I am developing a site and i am trying to use roller for blogs section. I am having a link called blogs in my site, clicking on which will open a new window and takes the user to url "http://localhost:8080/roller/roller-ui". Now i dont want the user who already logged into my site to be prompted for credentials again for roller.I want to bypass the roller's login page in other words i want the login action to be performed when the user clicks on the blogs link in my site with my site's credentials.(i can write the code like whenever the user registers for my site the same login details will be stored in roller db as well). I tried the following code : //Action script for opening a new window and passing the credentials var u:URLRequest=new URLRequest("http://localhost:8080/roller/roller-ui/roller_j_security_check"); var variables:URLVariables = new URLVariables(); variables.id=username; variables.pwd=password; u.data=variables; u.method="POST"; navigateToURL(u,"_page"); But this code is not working. Its giving me the message "Sorry! We couldn't find your document". What should i do to incorporate this change. Thanks Kranthi
Dave Johnson-8 wrote: > > On Wed, Nov 5, 2008 at 4:22 AM, kranthi kumar > <[EMAIL PROTECTED]> wrote: >> I am trying to make out the flow of execution of roller4 login. I >> worked >> on struts 1.2 but i am new to struts 2. So i am facing problem in >> understanding the code. Now in Login.jsp there is >> <form method="post" id="loginForm" >> action="<c:url value="/roller_j_security_check"/>" >> onsubmit="saveUsername(this)"> >> >> To which action class does "roller_j_security_check" .Please advice me. > > Roller uses Spring Security (aka "Aceigi") to handle authentication, > so you'll have to read up on that (the configuration file is > WEB-INF/classes/security.xml). I believe that a Spring security filter > intercepts the form POST to /roller_j_security check and does the > right thing (validates username/password, sets session attribute, > forwards to originally requested page, etc.). > > Hope that helps, > - Dave > > -- View this message in context: http://www.nabble.com/Roller-Login-execution-flow-tp20338395s12275p20357087.html Sent from the Roller - Dev mailing list archive at Nabble.com.
