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
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
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 :
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