Thanks - will do
Type: Posts; User: stevehodpriest; Keyword(s):
Thanks - will do
What you want to do is disable front end components so use the tags
Have a small unsecured site (one or two pages) that have some of the content and allows people to navigate further into you web site. Have this latter area secured. That way users won't be any the...
This should be reported as a bug. Either the javadocs need updating or the method signature needs to be altered. I'll enter it in somewhere (does it go in JIRA??)
Hi Emmanuelle,
Strange!
I get this error whenever spring cannot find the corresponding set method. So according to you xml config file (and the javadocs!!) spring will be looking for...
Lingan,
As I mentioned in another thread this I think is a Spring Jdbc problem. As you notice from the stack trace net.sf.acegisecurity package is not mentioned.
As a guess, as you don't have...
Firstly, the use of multiple parameters is a Spring Jdbc problem and you should look through there to find out what you are doing wrong.
Secondly on a design note you will get no great performance...
Hi Lingan,
Did you look at my attachment? Here it is in code format:
public class MyCustomJdbcImpl extends JdbcDaoImpl {
public static final String DEF_MY_MAPPING_QUERY = "SELECT...
Hi Lingan,
A domain object exists in a system whether it is secured or not - you could imagine this as a row in a table (although it can span a number of tables). Looking in the...
Lingan,
I've found the tags that come with ACEGI Security very helpful. For instance (from the docs)
<authz:authorize ifAllGranted="ROLE_SUPERVISOR">
<td>
<A HREF="del.htm?id=<c:out...
Using the sample app that comes with Acegi may help (see DataSourcePopulator.java). You would have a products table that would yield product domain objects. These have one or more users attached to...
Don't think in terms of the user object but instead think in terms of the Authenticated object. This object contains username, password and authorties. The username/password are provided by the...
I've looked through the javadocs and the source code for JdbcDaoImpl.java and it seems to me that to solve your problem you will need to extend JdbcDaoImpl, override the protected void...
I have an application to write that requires various degrees of security - that is the same user will have to log in with different passwords revealing more secured aspects of the web site. I know...
I too am having this problem. A work around was to to use AbstractDependencyInjectionSpringContextTests but I would still like to use the AbstractTransactionDataSourceSpringContextTests. Rod's...