Hi Jeff. I have a project I created in eclipse where I have the core juddi jar on the jave build path. Is there a better way for me to create the authenticator, than in my own project? Like within the juddi code bundle and build it there?
Thanks. -Gunnlaugur On Wed, Apr 28, 2010 at 2:51 PM, Jeff Faath <[email protected]> wrote: > Gunnlaugur, > > > > That error seems to be something to do with the environment. Is the core > jUDDI jar in the classpath where the authenticator is being executed? > > > > -Jeff > > > > *From:* Gunnlaugur Sigurðsson [mailto:[email protected]] > *Sent:* Wednesday, April 28, 2010 5:12 AM > *To:* [email protected] > *Subject:* Authenticator implementation > > > > Hello. > > I'm implementing the Authenticator interface to authenticate users against > Active Directory in my workplace. > > But I keep getting errors on the exceptions classes thrown by authenticate > and identify functions. > > The following error comes up. > No exception of type AuthenticationException can be thrown; an exception > type must be a subclass of Throwable > > Same error occurs whit the FatalErrorException class. > > > Here is my unimplemented JUDDIActiveDirectoryAuthhenticaton class. > > public class JUDDIActiveDirectoryAuthhenticaton implements Authenticator { > > public String authenticate(String arg0, String arg1) throws > AuthenticationException, FatalErrorException { > > // TODO Auto-generated method stub > return null; > } > > public UddiEntityPublisher identify(String arg0, String arg1) throws > AuthenticationException, FatalErrorException { > > // TODO Auto-generated method stub > return null; > } > } > > Any idea why I get this error? > > Thanks. > > -- > > Kveðja/Regards > Gunnlaugur Sigurðsson > [email protected] > Mobile: (+354) 896-7963 > Home: (+354) 565-5229 > -- Kveðja/Regards Gunnlaugur Sigurðsson [email protected] Mobile: (+354) 896-7963 Home: (+354) 565-5229
