> NamingException is a checked exception.  The Realm interface does not
> permit checked exceptions since they can vary dramatically across
> implementations. :/

I would wrap it with a runtime exception then. It's been a while since
I played with LDAP, so do all cases of NamingException imply either a
system problem or programmer error?

I certainly think that AuthenticationException and
AuthorizationException shouldn't be used in such cases where the realm
should deal with the issue.

Cheers,

Peter

Reply via email to