java.lang.SecurtiyException at unsigned jar's -
i'm facing securityexception @ runtime:
java.lang.securityexception: class "util.opennitodtw"'s signer information not match signer information of other classes in same package @ java.lang.classloader.checkcerts(classloader.java:952)
where util.opennitodtw own class wich using 3rd party jar.
according this jar's have signed using same certificate.
but neither of jar signed, checked using jdk's jarsigner -verify.
what exectly causing problem?
you using package name that's used else. if have signed work , yours unsigned, you'll error. purpose of error protect signed content being added others without consent of original signer.
signing saying "this code me, , can trust me". if add new classes package, mean stuff no longer trusted, case prevented.
think of package name trademark. start reverse order of company's web site. example org.apache.commons.codec
starts org.apache
indicating it's same group runs apache.org
. should try ensure package names unique not inadvertently representing code if it's organization.
Comments
Post a Comment