Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty9.4.15 NoClassDefFoundError for org.eclipse.jetty.util.security.Credential
  • From: Sujay Pujari <sujay_pujari@xxxxxxxxxxxxxx>
  • Date: Mon, 24 Feb 2020 15:54:10 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=persistent.com; dmarc=pass action=none header.from=persistent.com; dkim=pass header.d=persistent.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UWcr1RRBP8FNBEMMYDDqpQ1N/tVSdNGXtUPU6SOL9O0=; b=LaRhMHhv1AEEHQnXnM+tUs8Il92MiXMybot/Dd5VGiVMHO+5CfdJpP12bzOSVQvYFOdBysjO05SXZKtJzpYlZRXPdN/KnVnHwZEmtOmsr2znz5EVDgSnlJi0FAZzwGsQL2fMgUp4tLhPHi2P4I159hU28wAHMs0uBPwK4qqGNqv1dR4fIdwdoVgkE/nuYWIhiOOISsdSvDvdmvxH042ENeaOLIYd8mFtFlEiBN8SEBBuHC2PRyg0pj7BldcNQ7Ehmq3r/v/lPo6R4imbdBLAHrHcimf3ehq3eZpFNqk8j4lJVid7+v42W/mdby9Ft7MwUHot2OdaQF9i65u4qoqCUw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DWDBSA5+nSZgxFdua58gQYKqfH3SI0HbWah7dz54LYjWbaSHCNRE2brpWNS0AbJ+QLOZZvvPxiLVntriuS3pMO4IcYwcPHSl4vYIhO1Ja00AEQAtHr+1i02m7fwb31LViT942GE9gOmbtPBh8mRu+ASKAFik+R4kiMWK/nX4p3eCODQVULtRiUBwkDzT6I+Eh+mcN/W2URXcoLIcAPBeM2pnN16F4erud/RDSHcHSzQm9rFTY1GX4ArHmio9lDMFCrw06OSk/Rdklrl3krzJBiUZQLyTv0ccyj8E90n/poYiCoATGr3mG9cHGHxUdY7Big1ldkncNCNMSMMNURvBaA==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • Ironport-sdr: Uk462c5XCLGkXY34+LRuPfvuolRNf3t9v7AtpT/aIbrOFNdMboN2RpZq491ePUG/kkAbnI6Lwh Dgm0KDkvxGPaEYafUtsL5zy2L0aLWZw2JCvN2F+SQisYiitgVNiR7/Swzo0XSeDevkF1sJCdoq 2ohOq7vGiOsQQRGcmWahBcZLJvG2i6BruQ1F8dvnMn25PrHfP0gcRe6eZfIkiJtF8jgXOoZOaN 2h71wxrSQlAF19xH557cfEfXD8g7ivUou/FerDU+Wlw4PNf3ZMSguV3GE/LrHFof51ARUJzeA4 nBA=
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdXrKl2IpoYiVxJ2QdStNRGN12y8mw==
  • Thread-topic: Jetty9.4.15 NoClassDefFoundError for org.eclipse.jetty.util.security.Credential

Hello Jetty users,

 

We are migrating Jetty from v6 to ver 9.4.15 & using embedded Jetty.

Where in authentication is performed using form based , Jaas authentication.

In Jaas.conf file we have configured to use following  custom module

class DiscoveryLoginModule which  extends from AbstractLoginModule.

 

Now inside Login method of this class, We have following line of code

Credential cr =  Credential.getCredential(pwdStr);

 

Where we are getting NoClassDefFoundError for org.eclipse.jetty.util.security.Credential.

Inspite of the  fact that jetty-util jar corresponding to this is present in the buildpath.

Also,

Verbose:class shows that this class is getting loaded.

class load: org.eclipse.jetty.util.security.Credential from: file:/../lib/Jetty9.4.15/jetty-util-9.4.15.v20190215.jar

 

Can anybody suggest what I might be missing ? Any appropriate way to troubleshoot this?

Any help would be really appreciated.

 

Here is detailed stack:

NoClassDefFoundError.<init>(String) line: 70       

DiscoveryLoginModule.login() line: 151  

NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]           

NativeMethodAccessorImpl.invoke(Object, Object[]) line: 95       

DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 55              

Method.invoke(Object, Object...) line: 508           

LoginContext.invoke(String) line: 788      

LoginContext.access$000(LoginContext, String) line: 196

LoginContext$4.run() line: 698   

LoginContext$4.run() line: 696   

AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: 650   

LoginContext.invokePriv(String) line: 696              

LoginContext.login() line: 597     

JAASLoginService.login(String, Object, ServletRequest) line: 274 

FormAuthenticator(LoginAuthenticator).login(String, Object, ServletRequest) line: 56      

FormAuthenticator.login(String, Object, ServletRequest) line: 192             

DeferredAuthentication.login(String, Object, ServletRequest) line: 123    

Request.login(String, String) line: 2437   

 

 

Thanks & Regards,

Sujay

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

Back to the top