I have a problem with the approach 2. "Antoine_h" wrote : | | 2) add the parameter to the username (concatenation with a special separator), then create your own jaas login module (similar to the one provided), and parse the username to retrieve the name and parameter. | use javascript to concatenate the name with the extra parameter. | |
I have implemented my own login module in the way described above. However, although the method getUsername() of the module returns a correct value, I have a problem with the UserInterceptor. The method req.getRemoteUser() returns a not parsed username with the separator and as a consequence I get NoSuchUserException in UserModule: org.jboss.portal.core.model.NoSuchUserException: No such user No such user [EMAIL PROTECTED] org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:123) org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:100) I think I should try implement the third approach with the cookie? Or there is a simple solution for the problem of UserInterceptor? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029249#4029249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029249 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user