01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.workflow.soap;
06:
07: import org.codehaus.xfire.transport.http.XFireServletController;
08:
09: /**
10: * @author Hani Suleiman
11: * Date: Nov 10, 2005
12: * Time: 1:51:55 PM
13: */
14: public class XFireSOAPWorkflow extends BasicSOAPWorkflow {
15: //~ Methods ////////////////////////////////////////////////////////////////
16:
17: protected String getRemoteUser() {
18: String user = XFireServletController.getRequest()
19: .getRemoteUser();
20:
21: return (user == null) ? "test" : user;
22: }
23: }
|