[jboss-dev-forums] [Design of JBoss Wiki] - Re: Portal 2.6 support...

mimra do-not-reply at jboss.com
Wed Jul 11 05:33:24 EDT 2007


Ahh :-)

Well I have the Wiki runinng  when nu user is logged in, but when i log in, I get:


  | java.lang.IllegalArgumentException: User is not a HibernateUserImpl user
  | 	at org.jboss.portal.identity.db.HibernateMembershipModuleImpl.getRoles(HibernateMembershipModuleImpl.java:93)
  | 	at org.jboss.wiki.JBossPortalCredentials.getRoleNames(JBossPortalCredentials.java:101)
  | 	at org.jboss.wiki.JBossPortalCredentials.setParam(JBossPortalCredentials.java:159)
  | 	at org.jboss.wiki.WikiEngine.getCredentialsInstance(WikiEngine.java:1006)
  | 	at org.jboss.wiki.WikiPortlet.doView(WikiPortlet.java:351)
  | 	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
  | 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
  | .
  | .
  | .
  | 

The user I get from within JBossPortalCredentials and use to call:


  | membershipModule.getRoles(org.jboss.portal.identity.User)
  | 

The instance of that User is:


  | org.jboss.portal.identity.CachedUserImpl
  | 

I can see that the MembershipModule bound into JNDI is of type:


  | HibernateMembershipModuleImpl
  | 

I would like your input on that :-)

/Michael

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

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



More information about the jboss-dev-forums mailing list