Re: [appfuse-user] login with soap or web services

2010-11-24 Thread Matt Raible
You might try this: http://www.jroller.com/hexbinary/entry/xfire_as_a_webservice_provider On Nov 24, 2010, at 3:22 PM, tibi wrote: > no pointers? > > thanks > > tibi > > t...@dds.nl wrote: >> >> matt, >> >> i followed the tutorial on >> http://appfuse.org/display/APF/Web+Services >> all wen

Re: [appfuse-user] login with soap or web services

2010-11-24 Thread tibi
no pointers? thanks tibi t...@dds.nl wrote: > > matt, > > i followed the tutorial on > http://appfuse.org/display/APF/Web+Services > all went fine. but now i want to secure the webservice. > > For that i need to authenticate so i wanted to follow the link (at the > end of the page): > To authent

[appfuse-user] login with soap or web services

2010-11-16 Thread tibi
matt, i followed the tutorial on http://appfuse.org/display/APF/Web+Services all went fine. but now i want to secure the webservice. For that i need to authenticate so i wanted to follow the link (at the end of the page): To authenticate on the client side, see Using Acegi With XFire For Web

Re: [appfuse-user] Login using one time password

2009-06-15 Thread Thai Son Cung
HI I have find out the solution just by checking the otp value and set the security context UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken(user.getUsername(), user.getPassword(), user.getAuthorities());

[appfuse-user] Login using one time password

2009-06-15 Thread Thai Son Cung
Hi Matt Raible, Other that using login page. Is there any other way for user to authenticate? In my case, user database are pre-populated, so no signup is needed. And user will be send an one-time password to his mobile phone. He can use this one-time password to login for the first time

Re: [appfuse-user] Login

2009-05-28 Thread taltun
Thanks! Isn't there any code examples ? dusty wrote: > > I don't think you Can use the auto config tags to do that. Without > looking at it I think you should research howto define two > AuthenticationEntryPoint beans and the wiring that goes with them. > > On May 28, 2009, at 3:30 PM, t

Re: [appfuse-user] Login

2009-05-28 Thread DUSTIN PEARCE
I don't think you Can use the auto config tags to do that. Without looking at it I think you should research howto define two AuthenticationEntryPoint beans and the wiring that goes with them. On May 28, 2009, at 3:30 PM, taltun wrote: Hi, I'm using Struts 2 Moduler. I hope some can hel

[appfuse-user] Login

2009-05-28 Thread taltun
Hi, I'm using Struts 2 Moduler. I hope some can help on my big issue. I have 2 pages xxx.html and yyy.html. Each have a login form posting to j_security_check. I want each have a different "authentication-failure-url" in case if the login is failed. Currently, I have below tag in my security

[appfuse-user] Login with extra business logic

2009-05-04 Thread taltun
Hi, I use Modular Struts 2, vers. 2.02. I hope some can help on my issues. 1. What is the best and most painless solution if I want to put some extra business logic when an user use the login box to login. I also want to parse a request parameter to the extra business logic code. 2. I have 2

Re: [appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-09 Thread Matt Raible
I don't understand your questions. Can you re-phrase or simply try my suggestions and report back with the errors you see (if any)? Matt On Mon, Feb 9, 2009 at 5:33 AM, Ice-Man wrote: > Ah, Ok! Very good (thnx), Matt! > > But, could u advance if I can do everything right the way sad, exc

Re: [appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-09 Thread Ice-Man
Ah, Ok! Very good (thnx), Matt! But, could u advance if I can do everything right the way sad, except (change) the name of "User" Table??! :o (In my convertion (ASP->JAVA) the accord was keep the Original structure (page navigation), so I can't change it.) I wander, this way, I could make i

Re: [appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-08 Thread Matt Raible
I've never done this myself, but I believe you'd have to create new dataSource and sessionFactory beans that points to your legacy database and then configure the userDao to talk to this sessionFactory. Of course, you might also need to change the table names on the User and Role classes. You also

[appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-05 Thread Ice-Man
How u're doing, fellow?!! ;-)) Following my Requisites, now I must make my App's LogIn use my own User Table (that is part of a Legacy DataBase, from the System I'm converting to Java). I've found this page(about Rem

[appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-04 Thread Ice-Man
How u're doing, fellow?!! ;-)) Following my Requisites, now I must make my App's LogIn use my own User Table (that is part of a Legacy DataBase, from the System I'm converting to Java). I've found this http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAuthentication#part2 page (about

Re: [appfuse-user] Login Problem with a User not in roles ROLE_ADMIN and ROLE_USER

2008-09-11 Thread alibehzadian
SOLVED. The problem was that the user account was not enable. -- View this message in context: http://www.nabble.com/Login-Problem-with-a-User-not-in-roles-ROLE_ADMIN-and-ROLE_USER-tp19428832s2369p19429232.html Sent from the AppFuse - User mailing list archive at Nabble.com. -

[appfuse-user] Login Problem with a User not in roles ROLE_ADMIN and ROLE_USER

2008-09-10 Thread alibehzadian
Hi, I have created a new user with a new role: ROLE_MANAGER. I have added a new interceptor named "managerOnly" to see if user is in role ROLE_MANAGER. When I login with this new user I get login error. Is there a missing step that I should do? Ali Behzadian Nejad. -- View this message in co

Re: [appfuse-user] Login Redirect problem after 2.0.2 upgrade

2008-07-29 Thread mettamara
I played with some of the security XML and maybe I missed the boat on this one but removing the below line, breaks the login redirect component. I am using the Struts 2 config, so I assumed it was safe for me to remove, but re-adding it restored the redirect part. Also Matt, thanks for updatin

Re: [appfuse-user] Login Redirect problem after 2.0.2 upgrade

2008-07-29 Thread Matt Raible
On Mon, Jul 28, 2008 at 5:19 PM, mettamara <[EMAIL PROTECTED]> wrote: > > After doing the 2.0.2 upgrade (struts) the redirect to login page for > not-logged in users is no longer occurring for me. The default/ mainMenu > page gives a blank result with no notification in the log and going to > anoth

[appfuse-user] Login Redirect problem after 2.0.2 upgrade

2008-07-28 Thread mettamara
After doing the 2.0.2 upgrade (struts) the redirect to login page for not-logged in users is no longer occurring for me. The default/ mainMenu page gives a blank result with no notification in the log and going to another page gives a struts error complaining about No result defined for action com

Re: [appfuse-user] Login Error after modifying Appfuse Core Classes

2008-06-27 Thread stelios
Ignore this thread, I somehow manage to delete the UserDetails (implements UserDetails) from the User class... Its obviously fine now stelios wrote: > > Hi, > > I've slightly modified the User class, added a memeber. In addition I've > added an extra association to the user_role table. Althoug

[appfuse-user] Login Error after modifying Appfuse Core Classes

2008-06-27 Thread stelios
Hi, I've slightly modified the User class, added a memeber. In addition I've added an extra association to the user_role table. Although I don't see how that relates to this error. Everything compiles and runs fine, tests etc... BUT when I try to login using any of the accounts that exist in th

Re: [appfuse-user] login problem

2008-06-09 Thread Matt Raible
On Mon, Jun 9, 2008 at 4:36 AM, Anshu Dhamija <[EMAIL PROTECTED]> wrote: > Hi > > I have forgot password screen which I would be accessing before > login for this I have wrote the following into security.xml > > /forgotPassword*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER > > Now the problem is th

[appfuse-user] login problem

2008-06-09 Thread Anshu Dhamija
Hi I have forgot password screen which I would be accessing before login for this I have wrote the following into security.xml /forgotPassword*=ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER Now the problem is that I am not able to apply struts taglib into this screen Can anybody help me Rega

Re: [appfuse-user] Login table

2008-04-21 Thread Matt Raible
This might help: http://appfuse.org/display/APF/AppFuse+Core+Classes Matt On Mon, Apr 21, 2008 at 1:12 AM, Puck <[EMAIL PROTECTED]> wrote: > > All the project is structured with hibernate, so i don't want to change it. > > > > > Cens wrote: > > > > Hi Emilio, > > I had the same problem, sin

Re: [appfuse-user] Login table

2008-04-21 Thread Puck
All the project is structured with hibernate, so i don't want to change it. Cens wrote: > > Hi Emilio, > I had the same problem, since I had to build an Appfuse application upon > an existing database, where the login information are stored in a table > that is maintained by a third-party appli

Re: [appfuse-user] Login table

2008-04-21 Thread Puck
Because i have just one User Table(with other params..) mraible wrote: > > Why would you like to do this? > > On Fri, Apr 18, 2008 at 11:21 AM, Puck <[EMAIL PROTECTED]> wrote: >> >> How can i switch from app_user to an other POJO (Person for example) to >> retrieve login informations? >> >>

Re: [appfuse-user] Login table

2008-04-19 Thread Cens
Hi Emilio, I had the same problem, since I had to build an Appfuse application upon an existing database, where the login information are stored in a table that is maintained by a third-party application. Furthermore the database had a lot of composite primary-keys, which are not easily handled wi

Re: [appfuse-user] Login table

2008-04-18 Thread Matt Raible
Why would you like to do this? On Fri, Apr 18, 2008 at 11:21 AM, Puck <[EMAIL PROTECTED]> wrote: > > How can i switch from app_user to an other POJO (Person for example) to > retrieve login informations? > > Thanks > Emilio > -- > View this message in context: > http://www.nabble.com/Login-

[appfuse-user] Login table

2008-04-18 Thread Puck
How can i switch from app_user to an other POJO (Person for example) to retrieve login informations? Thanks Emilio -- View this message in context: http://www.nabble.com/Login-table-tp16763584s2369p16763584.html Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] Login problem - "Bad SQL Grammar"

2007-09-03 Thread Rob Hills
Hi Matt, Many thanks for the speedy reply. On 3 Sep 2007 at 13:04, Matt Raible wrote: > You might try searching SVN's history at > http://fisheye4.cenqua.com/browse/appfuse. > > Later versions of AppFuse don't have SQL in their security file. OK, that's good to know, I was wondering if my revi

Re: [appfuse-user] Login problem - "Bad SQL Grammar"

2007-09-03 Thread Matt Raible
You might try searching SVN's history at http://fisheye4.cenqua.com/browse/appfuse. Later versions of AppFuse don't have SQL in their security file. Matt On 9/3/07, Rob Hills <[EMAIL PROTECTED]> wrote: > Hi All, > > Summary: > > Appfuse + Webwork 1.9.4, Tomcat 5.5, Postgresql 8.2 - simple Appfu

[appfuse-user] Login problem - "Bad SQL Grammar"

2007-09-03 Thread Rob Hills
Hi All, Summary: Appfuse + Webwork 1.9.4, Tomcat 5.5, Postgresql 8.2 - simple Appfuse webapp works fine (using container managed authentication). Appfuse + Webwork 1.8.4, Tomcat 5.5, Acegi security - app (I've inherited) works fine against an Oracle DB, but I can't login with the same app po

Re: [appfuse-user] login debug messages

2007-05-29 Thread Jason Thrasher
Hum, 2.0-M4 isn't really setup to have all of the sources in there because the dependancies are still going to be managed by compiled POM files in Maven. If you've changed your project's pom.xml or imported the souces then there's no straight forward way to fix it... because your in custom territ

Re: [appfuse-user] login debug messages

2007-05-29 Thread Matt Raible
I don't understand when you say "it takes 3 minutes". It doesn't take 3 minutes to load each page on the demo site. It may take a while because you have the logs cranked up. We used to have many more mappings in web.xml for the filters so scripts, images, etc. would be excluded. However, we found

Re: [appfuse-user] login debug messages

2007-05-29 Thread nmall
I using appfuse 2.0-M4 - yes , i have a full source version. I imported all the sources into my build to do this. Thanks! Jason Thrasher wrote: > > What versions are you using? It sounds like a configuration issue of some > kind. Have you changed anything? > > > > nmall wrote: >> >> It s

Re: [appfuse-user] login debug messages

2007-05-29 Thread Jason Thrasher
What versions are you using? It sounds like a configuration issue of some kind. Have you changed anything? nmall wrote: > > It seems to do this for every page for me - it is taking about 3 minutes > to load every page by trying to go thru' one js at a time -> > prototype.js, scriptaculous.j

Re: [appfuse-user] login debug messages

2007-05-29 Thread nmall
It seems to do this for every page for me - it is taking about 3 minutes to load every page by trying to go thru' one js at a time -> prototype.js, scriptaculous.js, global.js ...Please look at trace below. I guess I don't understand why it is doing it over and over again... Thanks a lot!! DEBUG

[appfuse-user] login debug messages

2007-05-28 Thread nmall
Hi, I was just looking at why the login page was taking so long and I find that it goes thru' almost the same cycle several times bfore it creates the login page . Any idea why appfuse does this. Thanks a lot for any clarifications!! DEBUG - Bound request context to thread: GET /myproject/login.

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread Nathan Anderson
That sounds perfect then ;) Nathan - Original Message - From: "Dale Newfield" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, April 26, 2007 11:03:43 AM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] login to someplace other than mainmenu?

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread Dale Newfield
Nathan Anderson wrote: I believe the change you made means you cannot make a direct request to a given page if you are not logged in. Because after the login you are directed to the "defaultTargetUrl". There are three different places my setup will lead you. If you got redirected to the login

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread Nathan Anderson
e I wanted to be the default rather than "mainMenu.html". Nathan - Original Message - From: "DNewfield" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Thursday, April 26, 2007 8:25:07 AM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] log

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-26 Thread DNewfield
For the archives, here's how I accomplished this: (I'm certain there are other solutions, maybe cleaner/simpler, but this works...) I changed the login link in the menu from login.jsp to login.html. In the login.html action, if the host/port of the referrer are the same as the current request, I

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-25 Thread Dale Newfield
Matt Raible wrote: The defaultTargetUrl in security.xml has the default target That's what I was looking for! Thank you! (And since I went back to the acegi docs after posting, I just found it as well -- I should learn to delay posting just a bit longer :-). > The question is - can the def

Re: [appfuse-user] login to someplace other than mainmenu?

2007-04-25 Thread Matt Raible
The defaultTargetUrl in security.xml has the default target: You're right in that http://localhost:8080 results in a redirect to mainMenu.html and subsequent login. You should be able to make index.jsp your mainMenu and have a login box on it (if

[appfuse-user] login to someplace other than mainmenu?

2007-04-25 Thread Dale Newfield
Acegi handles where the user should wind up after logging in fairly well if a request for a protected page results in the display of the login form, but not when that form is explicitly requested by the user. My app has many pages that do not require that users be logged in, but which may have

[appfuse-user] login questions

2006-12-23 Thread Dorothy Turner
I need some advice on how I might best connect flash login and registration forms to the already existing framework for verifying and adding users. I am using openamf w/ flash. appfuse 1.9.2, tomcat 5.0. Flash currently connects to a manager class in the service layer which follows the the patt

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Michael Horwitz
Hi Yogya, Hmm. It all depends on any other configuration you have done within your application. By default AppFuse is not configured to serve up .jsp files directly. If you try and access mainMenu.jsp you will be directed to the "Page Not Found" error page? Any access to any other page should red

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Yogya Sharma
Thanks Mike for looking into this. If thats the case I get a slight confusion as to why am I being able to access a jsp pages under a newly created "display" folder, however when trying to access the mainMenu.jsp directly it directs to the login page. This makes me think that the security is ma

Re: [appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Michael Horwitz
Hi Yogya, ACEGI decides which parts are secured and which are not. If you take a look in security.xml (under WEB-INF) you will see a definition for a bean called "filterInvocationInterceptor": PATTERN_TYPE_APACHE_ANT /clickstreams.jsp*=admin /flushCache.*=admin /pa

[appfuse-user] Login based and non-login based section in appfuse, calling action onLoad

2006-12-11 Thread Yogya Sharma
Can someone help me with understanding the approach as how to manage my application which consists of mange (login-required) part, and display (login-no required) part. What would I need to do if I want all the jsp pages in a particular directory to be able to be accessed without login. Would th