Every method not included in a method-permission section is implicitly placed
into the excluded group. If you don't associate a role with a method the method
is not accessible.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Rafal Kedziorski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 2:52 AM
Subject: Re: [JBoss-user] security question


> now after trying some configurations and adding missed code:
> 
> MmcmsCallbackHandler callbackHandler = new MmcmsCallbackHandler(principal, 
> password);
> 
> try {
>    LoginContext loginContext = new LoginContext(securityDomain, 
> callbackHandler);
>    loginContext.login();
> 
>    ... my beans ...
> 
>    loginContext.logout();
> }
> catch (...) {
> }
> 
> this works fine, but now I get this exception:
> 
> 11:49:45,033 ERROR [SecurityInterceptor] No method permissions assigned to 
> method=create, interface=LOCALHOME  11:49:45,043 ERROR [LogInterceptor] 
> EJBException, 
> causedBy: 
> java.lang.SecurityException: No method permissions assigned to 
> method=create, interface=LOCALHOME                      at 
> org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:190)
>  
> at 
> org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94) 
> at 



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to