cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to resolve class javax.security.auth.callback

SOLVED
Highlighted
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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: Unable to resolve class javax.security.auth.callback

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.* ;

 

View solution in original post

3 REPLIES 3
Highlighted
Occasional Contributor

Re: Unable to resolve class javax.security.auth.callback

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.* ;

 

View solution in original post

Highlighted
Occasional Contributor

gRe: Unable to resolve class javax.security.auth.callback

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

 

unable to resolve class CallbackHandler @ line 84

Highlighted
Occasional Contributor

Re: gRe: Unable to resolve class javax.security.auth.callback

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 

New Here?
Join us and watch the welcome video:
Top Kudoed Authors