Well, here are quotes from the OP's email: "I'm searching for a solution to make security headers optional." "I would like to customize the error message, <b>or I would like to allow the requester to execute all methods with guest privilges (done by our system).</b>"
You are saying I have misread what he wants? >From what I understand he wants EXCACTLY what alternative policies provide, which is currently not implemented. If he applies security at some operations and strips others from security, how would those non-secured operations process security when supplied? He wants the methods to be accessible in both secured and non-secured calls. If security is supplied then it is processed, verified and if conforming to the policy, then a different access level would be granted by his business-level processing code. If non-secure call is made, then some guest priviliges would be granted but the call still needs to make it through. George >> Michael Rogger wrote: >> >>> Hi, >>> >>> >>> >>> That means, if the client provides security headers good, >>> if the client does not provide security headers, no exception should be >>> thrown! >>> >>> I would like to customize the error message, or I would like to allow >>> the requester to execute all methods with guest privilges (done by our >>> system). -----Original Message----- From: prabath [mailto:prab...@wso2.com] Sent: Monday, August 24, 2009 6:25 PM To: rampart-dev@ws.apache.org Subject: Re: Security Headers - Optional? George Stanchev wrote: > Your best bet is to create a handler and put it infront of rampart that > dynamically engages and disengages > rampart based on the presense of wsse:Security header. A hack solution until > alternative policy support > comes into rampart > Disengaging Rampart dynamically is not the correct solution for what Michael needs. Even when no security headers present he does not want to let users access the service - just want to send back a customized message instead of the stack trace. Michael, if you want some non-critical methods to be non-secure - the correct approach is to apply security at the operation level. Thanks & regards. -Prabath http://RampartFAQ.com > George > > -----Original Message----- > From: Michael Rogger [mailto:michael.rog...@sti2.at] > Sent: Monday, August 24, 2009 6:35 AM > To: rampart-dev@ws.apache.org > Subject: Re: Security Headers - Optional? > > Thanks for your fast reply! > > Yeah that is true, but if a requester doesn't know about security > headers, I prefer to give him a customized output message instead of a > stack trace... > With an optional security header it would be also possible to allow the > client to execute at least not critical methods where no authentication > is requiered.. (encryption and signing not considered) > > Is it somehow possible do make the security header optional? I could not > find a configuration parameter? > > Best regards > Michael > > prabath schrieb: > >> Hi Michael; >> >> Can you please elaborate more on your requirement... >> >> If it is optional - that means your service in insecure. >> >> Thanks & regards. >> -Prabath >> http://RampartFAQ.com >> >> Michael Rogger wrote: >> >>> Hi, >>> >>> I'm searching for a solution to make security headers optional. >>> >>> That means, if the client provides security headers good, >>> if the client does not provide security headers, no exception should be >>> thrown! >>> >>> I would like to customize the error message, or I would like to allow >>> the requester to execute all methods with guest privilges (done by our >>> system). >>> >>> My question, is it possible to make security headers optional? >>> >>> Thanks for your answer! >>> Best regards >>> Michael >>> >>> >>> > > > >