Ask a Question

Unable to resolve class javax.security.auth.callback

SOLVED
dvictor
Occasional Contributor

Unable to resolve class javax.security.auth.callback

Can't figure out how to implement this javax.security.auth.callback library as it fails on the import statement. Would like to use this library to utilize CallbackHandler.class

 

Can't find a jar on the web to throw in the bin/ext/ either.

 

Any suggestions? 

3 REPLIES 3
ZDGN
Contributor

Hi @dvictor 

 

Think this is part of Java, no need to import external jar file.

Did you try an import statement like that ?

import javax.security.auth.* ;

 

dvictor
Occasional Contributor

That just moved the error down to the implementation of the class:

 

unable to resolve class CallbackHandler @ line 84

Hi @dvictor,

 

I canno't stnd why the import fails.

May this tutorial help you:

https://docs.oracle.com/javase/8/docs/technotes/guides/security/jaas/tutorials/GeneralAcnOnly.html 

cancel
Showing results for 
Search instead for 
Did you mean: