You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/12 15:57:11 UTC
[jira] Resolved: (AXIS-2085) Support for IPv6 at org.apache.axis.utils.Admin:verifyHostAllowed()
[ http://issues.apache.org/jira/browse/AXIS-2085?page=all ]
Davanum Srinivas resolved AXIS-2085:
------------------------------------
Resolution: Fixed
Fixed in latest CVS.
> Support for IPv6 at org.apache.axis.utils.Admin:verifyHostAllowed()
> -------------------------------------------------------------------
>
> Key: AXIS-2085
> URL: http://issues.apache.org/jira/browse/AXIS-2085
> Project: Apache Axis
> Type: Wish
> Components: Basic Architecture
> Versions: 1.2RC2, 1.2.1
> Environment: SuSE Linux Enterprise Server 9
> --
> Apache Tomcat/5.0.27
> --
> java version "1.4.2_03"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
> Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
> Reporter: Ronny Riedel
> Priority: Minor
>
> I uncomment the lines in WEB-INF/web.xml because of wanting to use admin servlet. But if i call it with
> java -cp [needed jars] org.apache.axis.client.AdminClient -h localhost -p 8180 /path/to/wsdd/deploy.wsdd
> i got
> (401)Unauthorized - Remote administrator access is not allowed!
> i changed the sourcecode of org.apache.axis.utils.Admin:verifyHostAllowed() so:
> String remoteIP = msgContext.getStrProp(Constants.MC_REMOTE_ADDR);
> if (true) throw new AxisFault("remoteIP = \"" + remoteIP + "\""); // <- MY INSERTED LINE
> if (remoteIP != null &&
> !remoteIP.equals("127.0.0.1")) {
> compiled/deployed it and got
> remoteIP = "0:0:0:0:0:0:0:1"
> It would be nice if you change the source so that ip-addresses like "0:0:0:0:0:0:0:1" work
> reguards
> ronny
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira