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 Oliver Peter <ol...@vtg.at> on 2007/10/12 08:47:54 UTC

How to configue a Policy

Hello!

I have installed Axis2 1.3 with Rampart. 
Now I am trying to make a policy which allows a client to authenticate
via UsernameToken or without any
security token. But I was not very successfull! The UsernameToken works
fine but the without anything part is giving me a hard time.
Has anyone an idea how I could manage this.

thanks
Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: How to configue a Policy

Posted by Dimuthu <mu...@apache.org>.
Hi Oliver,

You have to either switch off security or switch on security. You cannot
support both. If you really need support both scenarios then you have to
implement it as two services. Once service with security and other
without.

Regards,
Dimuthu

On Fri, 2007-10-12 at 08:47 +0200, Oliver Peter wrote:
> Hello!
> 
> I have installed Axis2 1.3 with Rampart. 
> Now I am trying to make a policy which allows a client to authenticate
> via UsernameToken or without any
> security token. But I was not very successfull! The UsernameToken works
> fine but the without anything part is giving me a hard time.
> Has anyone an idea how I could manage this.
> 
> thanks
> Oliver
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
-- 
http://wso2.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org