Hi Jeff. This is a compiler error. I'm putting this on hold while I get the web service self-registration process working with Kurt's help.
But í have one question. 1) Off all the projects that come down when I checkout the code from subversion, do I put my authentication implementation within juddi-core and in the org.apache.juddi.v3.auth package? Thanks. -Gunnlaugur On Wed, Apr 28, 2010 at 5:32 PM, Jeff Faath <[email protected]> wrote: > Is this a compiler error or a runtime error? Maybe if you tried to > implement something in those methods where an exception was actually thrown? > > > > *From:* Gunnlaugur Sigurðsson [mailto:[email protected]] > *Sent:* Wednesday, April 28, 2010 10:05 AM > > *To:* [email protected] > *Subject:* Re: Authenticator implementation > > > > 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 > -- Kveðja/Regards Gunnlaugur Sigurðsson [email protected] Mobile: (+354) 896-7963 Home: (+354) 565-5229
