You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Thorsten Mauch <ma...@imkenberg.de> on 2003/08/19 23:01:06 UTC

Basic Autoentification problem

Hi
I use axis deployed uner Jboss. I put the users list under the WEB-INF
directory
and i tried /jboss/bin as well. 
When I call the service I got always:

Need to specify a user for authorization!
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.NoUser
 faultSubcode: 
 faultString: Need to specify a user for authorization!
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.NoUser
 faultSubcode: 
 faultString: Need to specify a user for authorization!
 faultActor: 
 faultNode: 
 faultDetail: 


my wsdd file looks like:
<deployment name="NetworkAdmin" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
	<service name="Admin" provider="java:EJB">
		<namespace>http://soapinterop.org/</namespace>
		<parameter name="beanJndiName" value="imkenberg/Admin"/>
		<parameter name="homeInterfaceName"
value="com.imkenberg.networkadmin.AdminHome"/>
		<parameter name="remoteInterfaceName"
value="com.imkenberg.networkadmin.Admin"/>
		<parameter name="allowedMethods" value="setPasswort"/>
		<parameter name="allowedRoles" value="administrator"/>
		<parameter name="jndiURL" value="jnp://localhost:1099"/>
		<parameter name="jndiContextClass"
value="org.jnp.interfaces.NamingContextFactory"/>
		<requestFlow name="auth">
			<handler
type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
			<handler
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
		</requestFlow>
	</service>
</deployment>

i have not a clue where the problem is, so helper is very appreciated

Thanx Thorsten