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