[Acegisecurity-developer] maven2 dependencies

2006-09-10 Thread Marco Mistroni
hi all, i have a project that uses maven2 and i have some dependencies on agecy security frameworkcan anyone tell me what is the correct dependency to list in my pom.xml?thanks in advacne and regards  Marco - Using Tomcat but n

[Acegisecurity-developer] Acegi & login page

2006-03-19 Thread Marco Mistroni
hello all,  can anyone explain me what happens, for example in the sample acegi application, when the initial formis submitted to acegi security framework for authentication?source is this:" method="POST" focus="username">         :          value='<%= session.getAttribute(AuthenticationPr

[Acegisecurity-developer] Facelets with Acegi

2006-03-19 Thread Marco Mistroni
hello alll,  has anyone ever used facelets iwth acegi?currently in my app i m entering the application from a page called acegilogin.jsp.. which then, after submittingcredentials, enter into the application/. problem tha ti have now is that, after logging in, i dont know how to let the user logout

Re: [Acegisecurity-developer] Acegi Database tables issue

2006-03-07 Thread Marco Mistroni
Hello Ben,  thanks a lot for your reply...Does this work OK outside DBUnit? What is the exception and stack track? just for clarify. tables work just fine (and whole acegi infrastructure)error happens because i am importing a database (as excel sheet) usingdbunit.in order to do that (and void dupli

[Acegisecurity-developer] Acegi Database tables issue

2006-03-06 Thread Marco Mistroni
hello all,   i m using acegi in my webapplication...i copied the code for populating acegi tables from the sample application..everything has worked fine so far, but recently i decided to include dbunit in my webapp in order to import existing database... and i got exceptions mainlybecause the auth

[Acegisecurity-developer] Acegi, JSF and Spring

2006-03-01 Thread Marco Mistroni
Hello all,   i have written an application that uses Acegi .my app integrates also JSF and spring using JSF-spring integration libraryI was wondering how can i access the current loggged in user (authenticated via acegi) as JSF beanwith  JSF-spring integration library, i can seee in my  JSF con

[Acegisecurity-developer] contacts sample application in jboss 3.2.5

2005-11-16 Thread Marco Mistroni
hello all,  i am trying to run contact sample application in jboss 3.2.5, but when system starts i am getting followign exception   2005-11-16 11:06:21,054 ERROR [org.springframework.web.context.ContextLoader] Context initialization failedorg.springframework.beans.factory.BeanCreationException: Err

[Acegisecurity-developer] Acegi Container Adapte

2005-11-15 Thread Marco Mistroni
Hello all,  i have developed a webapp that uses acegi for authentication i am deploying my application on JBoss, and thus i am using the JBoss adapter developed by acegi because in my webapp, that uses strutsmenu, i wanted certain menu options to be disabled for users that don't have enough rights.

[Acegisecurity-developer] Contact Sample sources

2005-10-25 Thread Marco Mistroni
hello all,  can anyonoe provide me of the location to the Contact sample application sources? i was curious to see the source of the sample.contact.DataSourcePopulator ...   thanks in advance and regards  marco

[Acegisecurity-developer] anonymous authentication

2005-10-18 Thread Marco Mistroni
hello all,   what's the deal with anonymous authentication? i have enabled the authentication filter in my webapp (copying what has been done in the contact sample application) i can safely access pages of my webapp without going thru login page   however, when i go thru login page and i enter blan

[Acegisecurity-developer] anonymous authentication

2005-10-16 Thread Marco Mistroni
Hello all,    i have configured the anonymous filter in my application that uses acegi 0.8.2 i am able to access any page of my application (instead of going thru the login page) however, if i go thru the loginpage and enter no username and no password, i receive the following error 16:03:57,828

Re: [Acegisecurity-developer] Quartz acegi problems

2005-09-16 Thread Marco Mistroni
ionObject into ThreadLocal,... but seems doesnt have a clue. :( On 9/16/05, Marco Mistroni <[EMAIL PROTECTED] > wrote: Hello,  are you talking about problems in executing the Quartz job? Not sure if this could be a solution for you, but have you tried to setup a secure ContextHolder during

Re: [Acegisecurity-developer] Quartz acegi problems

2005-09-16 Thread Marco Mistroni
Hello,  are you talking about problems in executing the Quartz job? Not sure if this could be a solution for you, but have you tried to setup a secure ContextHolder during execution of the job, using a 'superuser'?the superuser authenticates, you perform the task that needs to be done in the Quartz

Re: [Acegisecurity-developer] Problem when executing the contacts sample

2005-08-02 Thread Marco Mistroni
Hello, have you tried NOT to use tags and check programmatically (in the code) for permission and see if that work? i had acegi contact sample working fine (though it was with acegi version 0.8.2), and indeed i had integrated it in my application using StrutsMenu, running on jboss 3.2.5. Since y

Re: [Acegisecurity-developer] Struts menu with Acegi

2005-07-10 Thread Marco Mistroni
nd out what's wrong with struts menu... thanx and regards marco On 7/11/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >will this be a correct declaration in web.xml? > > > > > >ContextHolderAware F

Re: [Acegisecurity-developer] Struts menu with Acegi

2005-07-07 Thread Marco Mistroni
Proxy targetClass net.sf.acegisecurity.wrapper.ContextHolderAwareRequestFilter ContextHolderAware Filter /* are there any other filters that need to be declared? thanks in advance and regards marco On 6/29/05, Ben Alex <[EMAIL PROTECTED]> wrote: >

[Acegisecurity-developer] JBoss container adapter(2)

2005-07-06 Thread Marco Mistroni
in my webapp i use 5 different spring context files.. what should i put in the list of constructor-arg ? only acegi-related spring files or all my spring configuration files? thanks in advance and regards marco -- Forwarded message -- From: Marco Mistroni <[EMAIL PROTEC

[Acegisecurity-developer] JBoss container adapter (2)

2005-07-06 Thread Marco Mistroni
acegi-related spring files refers to a bean defined in a separate spring config file (i am using that datasource also for some other beans) ? thanks in advance and regards marco -- Forwarded message -- From: Marco Mistroni <[EMAIL PROTECTED]> Date: Jul 6, 2005 12:15 PM S

[Acegisecurity-developer] JBoss container adapter

2005-07-06 Thread Marco Mistroni
hello all, i plan to use JBoss container adapter for integrating Acegi into my webapplication, but i have few doubts about how to do that.. i have read acegi documentation and i have a questions: - am i right in assuming that i have to write a beanRefFactory.xml file, to place in $jbosshome/serve

[Acegisecurity-developer] Adding User/permissions programmatically

2005-07-05 Thread Marco Mistroni
Hello all, i am currently using Acegi for security purposes in my application. Currently, i have populated database tables via SQL, but i was curious if Acegi provides APIs for populating database programmatically.. i plan to use Hibernate to do that...i was curious to know if acegi has already i

[Acegisecurity-developer] Struts menu with Acegi

2005-06-28 Thread Marco Mistroni
Hello all, has anyone ever used Struts Menu together wtih Acegi? Following what's explained in this link http://struts-menu.sourceforge.net/security.html i would like to implement my own PermissionAdapter that uses Acegi in order to load dynamically menu items for my application.. here is what

Re: [Acegisecurity-developer] Acegi & population of database tables

2005-06-22 Thread Marco Mistroni
Hello Ben, thanx!! in meantime i read more acegi docs and i managed to figure out how to populate tables, so things are more or less pretty clear now.. thanx and regards marco On 6/22/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >for both contactM

Re: [Acegisecurity-developer] How to use Acegi in this situation?

2005-06-21 Thread Marco Mistroni
is a lot of code. So, for now, I will > show you what it all basically boils down to. In your background process, > you would do something like this: > > - > securityFacade.authenticateUser(subsystemUserName, subsystemCredentials); > try { >// Background process code goes here >...

Re: [Acegisecurity-developer] How to use Acegi in this situation?

2005-06-20 Thread Marco Mistroni
the > duration of the message handler (the user is automatically unauthenticated > once the message handler exits). > > - Andy > > On Friday 10 June 2005 01:31 am, Marco Mistroni wrote: > > Hello all, > > i have a webapp (spring-based) that is used to insert some entries in >

Re: [Acegisecurity-developer] How to use Acegi in this situation?

2005-06-15 Thread Marco Mistroni
ls into each message. In > the message handler we authenticate against those credentials for the > duration of the message handler (the user is automatically unauthenticated > once the message handler exits). > > - Andy > > On Friday 10 June 2005 01:31 am, Marco Mistroni wr

[Acegisecurity-developer] How to use Acegi in this situation?

2005-06-10 Thread Marco Mistroni
Hello all, i have a webapp (spring-based) that is used to insert some entries in a MYSQL database via a PersistenceManager. I recently came across Acegi and i want to use it in my application, so proper place in which put permissions will be PersistenceManager. Thtere is however a small problem wi

[Acegisecurity-developer] Acegi & population of database tables

2005-06-05 Thread Marco Mistroni
hello all, i have downloaded acegi contacts application and populated tables with some scripts that i found on the internet. application works just fine, and now i am trying to apply same principles to my application so that i can use acegi in my application. I have no problems with authenticatio

Re: [Acegisecurity-developer] acegi & Mysql

2005-05-23 Thread Marco Mistroni
e database.. what i am missing is how to get the encrypted value sorry maybe it's a little off-topic but i am little new to encryption & security.. thanx in advance and regars marco On 5/22/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >Hello Ben

Re: [Acegisecurity-developer] acegi & Mysql

2005-05-22 Thread Marco Mistroni
get the sources of the Contacts application? thanx in advance and regards marco On 5/20/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >hello all, > > i am trying to run acegi contacts sample with MySQL, and i am getting > >errors during initia

Re: [Acegisecurity-developer] Acegi & J2ME client

2005-05-22 Thread Marco Mistroni
between acegi and HttpSession? thanx in advance and regards marco On 5/22/05, Ben Alex <[EMAIL PROTECTED]> wrote: > Marco Mistroni wrote: > > >hello all, > >i plan to use acegi as security framework for my webapplication... > >however i want to have also J2ME c

[Acegisecurity-developer] Acegi & J2ME client

2005-05-21 Thread Marco Mistroni
hello all, i plan to use acegi as security framework for my webapplication... however i want to have also J2ME clients which will communicate using SOAP API.. will i have any problems for that? i want to avoid J2ME client to login all the time has anyone any idea on how can i achieve that? thanx

[Acegisecurity-developer] retrieving users from session after authentication with acegi

2005-05-20 Thread Marco Mistroni
hello all, i want to use acegi security framework in my webapp in my app, after user has logged in, i am storing it into HttpSession, since i need the username for other part of my app that insert data into db. If i let acegi do the authentication/authorization, how can i retrieve the user a

[Acegisecurity-developer] acegi & Mysql

2005-05-20 Thread Marco Mistroni
hello all, i am trying to run acegi contacts sample with MySQL, and i am getting errors during initialization due to dataSourcePopulator. Looks like MySQL 4.1 does not accept the syntax used by populator.. i don't have source files for contacts, so best i can do is to disable dataSourcePopulator