[jboss-user] [JBossWS] - JBossWS-2.0.1 ignoring @SecurityDomain
DeanoUK
do-not-reply at jboss.com
Wed Oct 3 11:45:14 EDT 2007
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#4091123
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091123
More information about the jboss-user
mailing list