[jboss-user] [Security JAAS/JBoss] - Re: How to let

2007-09-05 Thread bjolletz
I guess the problem is how to let the system be authenticated in MySecurityDomain. I've figured out that the system somehow needs to log in programmatically to gain access to my security domain. It seems like I've found a solution, although I'm not sure it's how you're supposed to handle this

[jboss-user] [Security JAAS/JBoss] - Re: How to let

2007-09-04 Thread bjolletz
Thanks for your reply! I am already using a security domain. I'll try to describe my problem better: For example, I have a bean like this: | @StateLess | @SecurityDomain(MySecurityDomain) | public class MyEntityManagerSLB { | | @RolesAllowed({admin, developer}) | public void

[jboss-user] [Security JAAS/JBoss] - Re: How to let

2007-09-04 Thread changemylife
I don't sure that I understand your problem. system is a role that you declared in code. If SecurityDoamin is valid, all things are Ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4081150#4081150 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: How to let

2007-09-03 Thread changemylife
I think that @SecurityDomain annotation can resolve this problem. You can declare it in your code or XML configuration file. Then, you edit login-config.xml inside xxx/server/conf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080687#4080687 Reply to the