[jboss-user] [Security & JAAS/JBoss] - Re: getCallerPrincipal throws NullPointerException
jaikiran
do-not-reply at jboss.com
Fri Jan 23 02:09:34 EST 2009
@Stateless
| @Remote({IGetUserName.class})
| public class GetUserName implements IGetUserName
| {
|
You haven't configured the bean with a @SecurityDomain
Here's an example:
| import org.jboss.ejb3.annotation.SecurityDomain;
|
| @Stateless
| @Remote({IGetUserName.class})
| @SecurityDomain("other")
| public class GetUserName implements IGetUserName
| {
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204216#4204216
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204216
More information about the jboss-user
mailing list