I have a bean that is annotated with @Webservice and @SecurityDomain 
@Stateless()
@WebService()
@SecurityDomain("MyDomain")
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public class DownPartBean implements DownPartLocal, DownPartRemote {
...
}


MyDomain is setup appropriately in the login-config.xml and is proven to be 
working from other context.

However, if I connect from a ws client even with the user and password set, the 
authentication always fails. 

I've also edit the META-INF/jboss.xml file such that it looks like below but it 
never works. The documentation relating to how to secure an end point does not 
work for me and I suspect I probably did something wrong.

Appreciate any help..

-don

jboss.xml


        <security-domain>MyDomain</security-domain>
        <enterprise-beans>
                
                        <ejb-name>DownPartBean</ejb-name>
                        <port-component>
                                <port-component-name>
                                        DownPartBean
                                </port-component-name>
                                <port-component-uri>
                                        /lsaplEjbServer/DownPartBean
                                </port-component-uri>
                                <auth-method>BASIC</auth-method>
                        </port-component>
                
        </enterprise-beans> 
 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051872#4051872

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051872
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to