Configuring GlassFish for WS-Security using a UsernameToken

I host the JAX-WS web service on GlassFish 3.0.1 (Metro stack). I would like to enable WS-Security on this web service using UsernameTokens. How should I do it? I did not find very good documentation on this issue - most of them are on a standalone Metro installation and it seems very complicated. By comparison, Apache CXF simply requires an interceptor and a password callback. Can someone direct me to some simple instructions?

Thank. Naresh

+3
source share
2 answers

I found this article which was very helpful.

+2
source

Source: https://habr.com/ru/post/1788381/


All Articles