[jboss-user] [EJB 3.0] - How to setup wsse usernametoken for ejb3 based web services?

xiaow do-not-reply at jboss.com
Wed Feb 20 10:01:32 EST 2008

I posted the following question in ws forum, but this forum may be the better place for it. Please help.

"I have tried to solve this for several weeks for jboss on either 4.2.2 or 5 beta 4 and was very frustrated. And I have easily configured this feature in Glassfish v3 and Oracle AS 10g. Now I work on a very simple web service annotated from a session bean as following:

public class Test{
@Resource SessionContext context;
public test(){
String userName =
System.out.println("The calling user is " + userName);

I would like to see how step by step to configure only the usernametoken wsse feature for the web service against an LDAP source such as openldap or active directory in a jboss server (any version), so that the ejb test method is invoked and it prints the user name of the caller in the console (or log).

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130773

More information about the jboss-user mailing list