On Mon, Apr 18, 2011 at 1:15 PM, Sam Mizanin <[email protected]> wrote: > How do you pass a TransferRateRequest to an ongoing FTPsession usng the > Ftplet?
You might be misunderstanding the API. TransferRateRequest is what is used when checking if a user is authorized to perform an action. You probably mean adding a TransferRatePermission to the user? If so, this can not be done using the public API, but you can do it using the internal classes (usual warnings apply). Cast the User to BaseUser and add your TransferRatePermission to the setAuthorities() methods (with a copy of the already existing authorities). /niklas
