Was using JBossWS out of the box with JBoss 4.2.1GA, but run into some issues - it was
recommended to try the new JBossWS-2.0.1.
The @SecruityDomain was previously mapping to the correct SecruityDomain but is now
defaulting to some other value.
| import org.jboss.wsf.spi.annotation.WebContext;
| import org.jboss.annotation.security.SecurityDomain;
|
| Stateless(name = "NewRegistrationsSession")
| @WebService(endpointInterface =
"com.msp.ejb.csi.webservices.newregistrations.NewRegistrationsSession")
| @Remote(NewRegistrationsSession.class)
| @SecurityDomain("sys-server-login")
| @RolesAllowed({"Webservice"})
| @WebContext(contextRoot = "/webservices", urlPattern = "/*",
authMethod = "BASIC",
| transportGuarantee = "NONE", secureWSDLAccess = false)
| public class NewRegistrationsSessionBean
| {
| //etc
| }
|
The SecurityDomain is set to 'sys-server-login' but it is actually using
'server-login' which is another SecurityDomain. It was previously working ok.
Any ideas why?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091123#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...