Ok. Thanks for the fix and the explaination. //Erik
-----Ursprungligt meddelande----- Fr�n: Unico Hommes [mailto:[EMAIL PROTECTED] Skickat: den 27 oktober 2004 17:23 Till: Slide Users Mailing List �mne: Re: SV: Access denied when performing DASL search with RDBMS and inherited negative permissions Erik Sandstr�m wrote: >Ok, thank you very much. > >But couldn't the permissions be checked explicit instead of waiting for an >exception? I think there will very many (time consuming) exception throwed >this way... > Explicitly checking for credentials means waiting for an exception. See http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/securit y/Security.html Anyway, creating and throwing exceptions is not very time consuming in modern JVM's. Probably less time consuming than checking permissions twice. -- Unico --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
