Tom and Jeff, thank you very much. It works without a glitch.

Is this documented somewhere? I looked for it for a while without
finding it.
This brings me to the FDS documentation. I think the Flex
documentation is very well done and detailed. But the FDS
documentation is quite the opposite. It seems to me there is only the
minimum we need to know and everything is scattered in the Flex
documentation.
I would personally prefer a separate doc with detailed explanations on
the Java side.

Benjamin.


--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> You can just throw a RuntimeException from your fill method (or whatever
> server side method that FDS is calling).  That turns into a fault event
> on the client.  If you are using FDS's LoginCommand interface, you can
> just have your login method return a Principal that does not support the
> roles defined by the security constraints you attach to your
> destination's configuration.  This is a declarative approach when you
> simply need to ensure a user has a given role when performing an
> operation.
> 
>  
> 
> Jeff
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of benjidudu
> Sent: Wednesday, January 31, 2007 3:23 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to create a fault in FDS?
> 
>  
> 
> I have a fill which is called with a parameter. The user login is
> passed and I check the login in the DAO. What I would like is to
> create a fault event to return to Flex if the login does not pass my
> checks.
> 
> Is there a way to do this?
> 
> Benjamin.
>


Reply via email to