[JBoss Portal] - integrating user validation application maintaining JBPortal
by den74
Hi all,
I'm starting using jboss portal and i'm looking for integrate a company usergate application to the portal.
What I'm looking for is to be able to let my application validate users but after this to let make the configuration of their visibility on portlets by standard procedure already included in the JBoss Portal. So what i need to know is if it is possible disjoin login authentication from database where Jboss store the roles configurations.
First of all I tried to use UsersRolesLoginModule, to see if i can completely remove the user/role/membership tables from datasource but it not lets me enter:unconfigured users are correctly advised and for configured users the tomcat "Access to the requested resource has been denied" message is always sent back. But it was not my first aim so, i tried to drop the involved tables after logged in the portal, but then the roles internal management look for them again and a SQL error is sent.
Can someone help me knowing if my needs can be solved and the best way to do it?
Thanks
Denis
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973278#3973278
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973278
19 years, 7 months
[EJB 3.0] - Re: Very Weird, Triplicated childs at runtime, all ok in the
by raistlinmolina
Finally I managed to fix the problem myself.
It seems that Collections are not very well managed and you can expect some issues, I run into de Fetch.EARLY problem when you have more than one ManyToMany or OneToMany relation in the same entity, it happens that you can only have one EARLY if you used Collections, instead if you use Sets all goes fine.
I've finally noticed that in the second case i Posted I was using a Set to hold the childs, so In changed Collection (ArrayList) to Set (hashSet) in the case that was failing And now it works.
It seems to me that the 3 objects are in fact the same, in a set if you add the same object more than once it's not added (because it's a set :) ).
It arises the issue that I was asking the manager to remove the same entity three times and it didn't failed. Maybe as it seems to work in batches only one actual removla is performed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973270#3973270
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973270
19 years, 7 months