for all who might run in the same trap:
if called the SimpleAuthorizationHandler b4 the SimpleAuthenticationHandler
correst is of course the oposite:
<requestFlow name="auth">
<handler
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler
type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
</requestFlow>
it took me several hours :(
but I gain some knowlage of the axis source :)
-----Urspr�ngliche Nachricht-----
Von: Thorsten Mauch [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 19. August 2003 23:01
An: '[EMAIL PROTECTED]'
Betreff: 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