[jboss-user] [JBoss Portal] - Re: Saving user specific preferences

jkoek do-not-reply at jboss.com
Mon Jul 24 07:58:53 EDT 2006


I have tried it with admin/admin and that works.
I have tried it with user/user and that don't work.

I have set the security for the user 'user' to personalize.

Underneath the logging of the database;

As you can see. the test-admin works but the test-user doesn't show up.

In your reply I saw that you tried it with admin. Can you try it with user?

Thanks,

Jeroen.


NSERT INTO JBP_PORTLET_STATE VALUES(3,'samples.NewsPortlet',NULL,'2006-07-24 13:48:04.715000000',NULL,NULL)
INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,NULL)
DELETE FROM JBP_PORTLET_STATE_ENTRY WHERE PK=6
INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,3)
INSERT INTO JBP_PORTLET_STATE_ENTRY_VALUE VALUES(6,'http://test-admin',0)
INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,NULL,'admin','local._3',NULL)
DELETE FROM JBP_INSTANCE_PER_USER WHERE PK=2
INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,2,'admin','local._3',NULL)
COMMIT
/*C4*/SET AUTOCOMMIT TRUE
/*C3*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=1 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(1,'1153741696149','portal.user.last-login-date')
COMMIT
/*C4*/SET AUTOCOMMIT FALSE
/*C3*/SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
/*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(2,'1153742092493','portal.user.last-login-date')
COMMIT
/*C3*/SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
/*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(2,'1153742216816','portal.user.last-login-date')
COMMIT
/*C3*/SET AUTOCOMMIT FALSE
/*C4*/SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960329#3960329

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960329



More information about the jboss-user mailing list