This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

We are using spring-ws on weblogic, and now want to deploy on glassfish. The trouble is in the authentication, and the question can probably be posed like this:

-> How do we set up spring-ws to authenticate a WSS UsernameToken against a glassfish realm?

For weblogic, we have created an AbstractWsPasswordCallbackHandler which delegates to JAAS (through a login module of type weblogic.security.auth.login.UsernamePasswordLogin Module), which then does all the required work.