This content has been marked as final.
Show 2 replies
-
1. Re: JBossWS-2.0.1 ignoring @SecurityDomain
deanouk Oct 4, 2007 3:18 AM (in response to deanouk)Is this not a known issue, or can anyone help?
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
}
Is this not a known issue, or can anyone help?