[Design of JBoss Wiki] - Re: Portal 2.6 support...
by mimra
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
18 years, 9 months
[Design of JBoss ESB] - Re: Uniquely identifying services and actions
by tfennelly
"mark.little(a)jboss.com" wrote : However, I think we need to be careful about making statements concerning *global uniqueness* based on service category and service name when we don't have a formal policy for federated registries yet.
+1
"mark.little(a)jboss.com" wrote : So it sounds like we have the information for uniqueness within an ESB deployment that we covered earlier today. So now do we go back to the issue of nicknames ;-)?
Well is the only issue with the length of the "formal" name one of displaying it (and hence the need for a "nickname")? If so, then is it not just a display issue? For displaying on a UI, perhaps the name could be abbreviated to just the action name and use some funky AJAX thingy (or whatever) to popup the "formal" name on mouseover (or whatever). For printing, I don't think you could use a nickname because that would require manual translation back to the formal name.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062851#4062851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062851
18 years, 9 months