OK I managed it:
I had to delete all portlet and portal libs from my lib folder in the
application-war...
thx for your help guys ;-)
Have a nice day
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989202#3989202
Reply to the post :
I'm having the same questions... ;-)
THX for your help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988852#3988852
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988852
___
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeterminePortalLoggedInUser
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988855#3988855
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988855
That's good...but it only works with the UserName :-/
I need to find the actual RoleName...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988932#3988932
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988932
It follows the J2EE security schema.
You access the principal and you can tell if the user X has role Y.
request.isUserInRole(roleName)
If you need to access the list of roles, then you need to access the
user/role/membership modules. See the API
View the original post :
Hmm, that's the problem:
I get the UserName via
| String UserName = (String)req.getRemoteUser();
|
and i can get the Name via
| java.security.Principal principal = req.getUserPrincipal();
|
Both works fine. But when I try to create a User like this
| User user =
try adding portal-identity-lib.jar to your classpath
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989126#3989126
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989126
___
It is in the classpath, but it won't work :-/
Another Idea?
Perhaps it is helpfull when I say that I'm using the portal with mysql!
Do I need to work with transactions?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989171#3989171
Reply to the post :