Skip to Content
0
Former Member
Jun 16, 2011 at 07:39 AM

Login credidentials and HandlerChain problem

17 Views

hi, i have a problem with getting user who call a web service and logging soap message together.

i was getting a user with this code:

Logger log = LoggerFactory.getLogger("");
String login = "";
IUser user = UMFactory.getAuthenticator().getLoggedInUser();
login = user.getUniqueName();
log.info(login);

this code working with no problem when the basic http authentication was set.

problem begins with adding handlerChain annotation to web service class.

@HandlerChain(file = "LogMessage_handler.xml")

when i comment this annotation getting user working perfectly, but when the logging soap messages is turned on, web service is getting "guest" as user and http authentication is not working witch is the major problem because the webservice is available on internet. i want to logging inbount soap requests. but the no authentication is inadmissible.

can anyone help me?