[jboss-user] [JBossWS] - Re: WS 181 and my own security module - call problems
thomas.diesler@jboss.com
do-not-reply at jboss.com
Wed Oct 11 18:40:28 EDT 2006
The samples use an ejb endpoint like this
| // standard JSR181 annotations
| @WebService(name = "EndpointInterface", targetNamespace = "http://org.jboss.ws/samples/jsr181ejb", serviceName = "TestService")
| @SOAPBinding(style = SOAPBinding.Style.RPC)
|
| // standard EJB3 annotations
| @Remote(EJB3RemoteInterface.class)
| @RolesAllowed("friend")
| @Stateless
|
| // jboss propriatary annotations
| @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
| @PortComponent(authMethod="BASIC", transportGuarantee="NONE", configName="Standard WSSecurity Endpoint")
| @SecurityDomain("JBossWS")
| public class EJB3Bean01 implements EJB3RemoteInterface
| {
| @WebMethod
| public String echo(String input)
| {
| return input;
| }
| }
|
Is this not equivalent to your use case?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977720#3977720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977720
More information about the jboss-user
mailing list