If I'm not mistaken to "upload" the roles from the principal to the session and latter use them in the view with logic you will need this filter
<filter>
...
Type: Posts; User: lazzha; Keyword(s):
If I'm not mistaken to "upload" the roles from the principal to the session and latter use them in the view with logic you will need this filter
<filter>
...
Throw holly water at the machine? LOL! just kidding... have you try switching the db? to see if you get the same behavior so you can discard the db and blame the driver :) also switching between...
If it's for prototypes and what you only want to execute and store things... maybe you just don't need transactions, use autocommit set to true in your datasource and that's it... :rolleyes:
...
No idea for the Jboss config, I tried to look up something in the internet but according to http://wiki.jboss.org/wiki/ConfigDataSources everything is ok :confused:
Since you are trying... try...
I had a similar problem, but with lists and since the merging didn't worked what I did was a work around... Define a factory that merges your maps here's the idea:
public class...
Hi, use the JdbcDaoImpl provided by acegisecurity, then you can have your database design as you wish. in my case I have:
Users Table
Roles Table
User_Roles table (many to many)
...
ok not shure why you want to open a transaction in the view, the point is not to mix tiers. You use the open session in vew to lazzy load things, must of the time, and when you are in an action, I'ld...
Silly question, but maybe there's your answer... is your datasource transaction enabled?
Many times we have had the same behabior but it's caused by our datasources being configured without the...
Hey bart, here's a work around.
Instead of extending directly from AbstractJUnit4SpringContextTests, extend from AbstractJUnit4SpringContextTests... Here's my class:
...
Hi every body, here we go again with some things I found, but haven’t been able to answer to myself.
A little background to the project I’m working:
I have N materials and each material has M...
Hi James, hi to everybody…
Well now we have our jms producer all set up and we would like to have some kind of daemon to consume the messages ASAP.
What we have thought of, is to put the...
That's the way aha aha... :lol:
Costin, you were right, a single manager is to be used in order to achieve a single transaction over multiple databases....
This two beans do the job...
...
Hi you all,
I have 3 DBM’s a Microsoft SQL server, an Oracle and an Informix server, I’m using Spring transactions, in order for the database operations to be atomic, all databases...
Ok now apparently we manage to get to a configuration that uses transactions, here’s the snippet:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
...
Hi once again, well as we comment in the last post, we pooled out the BootstrapContextFactoryBean and resourceAdapter beans and ended with something like this:
<?xml version="1.0"...
Hi James, well as you suggested in your reply we are trying to use Jencks, and we are following your Message Driven POJOs example, but our configuration is exactly the same as in your examples but we...
:D Indeed now that I think again the first solution it would be reinventing the wheel :roll: :lol:, but now, from the blackboard to the byte code, once we have the solution, I'll post it if its any...
Hi you all,
Ok now from the blackboard to the byte code, we are now in the implementation phase for this idea http://forum.springframework.org/showthread.php?t=18182, and this is the big picture:...
Hi you all,
Here is the deal, in our company (ok I wish it was my company), we are implementing a mobile phone activation system, the main idea is that a client (ivr), talks to an Activation...
Hi everybody, how are you doing?
Well, I have my interceptor configured the following way...
<bean id="filterInvocationInterceptor"...
But the thing here is that this is caused because I'm specifying explicitly the .keystore in my tomcat configuration
<!-- Define a SSL HTTP/1.1 Connector on port 443 -->
<Connector...
We made it work!!!!! :lol:
Luke we used the force!!!, and you were right!!!
We added, as Ben suggested (in the other post), in our etc/hosts our server ip mapped to a name foo, the problem is...
Hi again you all, well now I got to this error
DEBUG [net.sf.acegisecurity.ui.AbstractProcessingFilter] Authentication request failed: net.sf.acegisecurity.AuthenticationServiceException: HTTPS...
:lol: after 6 hors of googleing and research we got to the same exact conclusion you told us to view :lol:, already done :).
Aside of what you suggested, we had to add the following to our tomcat...
Hi Matt, thanks for the replay, unfortunatly CAS doesn’t seem to be the problem, as I mention the CAS server is properly configured with a jdbc dao impl to connect to my database, and I’ve tested it...