Re: [Acegisecurity-developer] contacts example with basic authentication only ?

2007-11-08 Thread Dirk . Dinger
I needed to change the authenticationEntryPoint property of the 
ExceptionTranslationFilter bean in order to make it work.

Thanks a lot Ray !-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] contacts example with basic authentication only ?

2007-11-08 Thread Dirk . Dinger
I looked inside the acegi-security-sample-contacts-filter.war that came 
with acegi 1.0.4

the filter chain in applicationContext-acegi-security.xml is defined as 
follows:


  
 
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
 
/**=httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,switchUserProcessingFilter
 
  


The javadoc of BasicProcessingFilterEntryPoint also talks about 
SecurityEnforcementFilter. But I can not find an class/interface or bean 
name with that name ?

Are we talking about the same acegi version ?

Regards,-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] contacts example with basic authentication only ?

2007-11-08 Thread Dirk . Dinger
Hi acegi users,

maybe someone of you knows the trick

What do I have to change in the "contacts" sample application in order to 
enforce basic authentication only ?

if I remove the "authenticationProcessingFilter" from the filter chain and 
keep "basicProcessingFilter" only it does not have the
expected effect.

I would expect the browser to bring up a pop-up and ask me for 
username/password, but i'm still being redirected to the login page.

What am I doing wrong ?

Regards,
Dirk
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] opening browser with login credentails ?

2007-11-07 Thread Dirk . Dinger
It seems to me that the the suggestion with

http://user:[EMAIL PROTECTED]/foo.html

only works, if the server returns a 403 status code ??

i'm not quite sure if the order of my filter chain is important. 
...authenticationProcessingFilter,basicProcessingFilter ...

How can I enforce basic authentication ?

I would expect the browser to bring up a popup window, asking me for the 
username/password, but it always shows the login screen ?

If I use the wget command, the username/password will be sent in the http 
header and everything works fine.
The solution above does only work - i suppose - if the server enforces 
basic authetication by returning a 403 which would bring up the
popup dialog.

Regards,
Dirk
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] opening browser with login credentails ?

2007-11-07 Thread Dirk . Dinger
Hi,

We have a web app that supports form based and basic authentication based 
login using acegi security.
Yesterday a customer asked, if it would be possible to provide a "jump in" 
feature from a windows application, that means
if the user presses a button in the windows app, the browser window will 
pop up and directly jump into
a certain page without the need to login to the web app again. (single 
sign-on).

Can anyone give me some tipps or best practices how to do implement this ?

Regards,
Dirk-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] contacts example running on mysql db anywhere ?

2007-07-27 Thread Dirk . Dinger
Hi acegi users,

I just tried to get the contacts example to run with a mysql database.

Unfortunately this fails because of the hard coded SQL statements executed 
by the class DataSourcePopulator during startup.
These seem to be hsqldb specific.

Where can I download the contacts sample source ? I'm currently browsing 
the Xref.

Any help appreciated.
Dirk

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer