2013-08-09 4 views
2

애플릿을 응용 프로그램 로그인 페이지에서 사용합니다. 애플릿에는 2 개의 클래스가 있습니다. Jar가 서명되었습니다 (CA 인증서). 매니페스트 파일에는 다음이 포함됩니다 "신뢰할 수있는-도서관 : 사실일부 사용자는 보안 예외를받습니다. 신뢰할 수있는 라이브러리로 샌드 박스 된 병을 열려고 시도했습니다.

그것은 대부분의 사용자하지만 JVM 보고서 보안 예외가 있기 때문에 그들 중 일부는 애플릿에 문제가 작동

:.. 신뢰할 수있는-도서관 같은 샌드 박스 항아리를 열하려고 시도

당신이 늘 그들을 위해 일을 왜 어떤 생각이있으세요? exaple를 들어

사용자 1이이 Java Plug-in에 10.21.2.11 JRE 버전 1.7.0_21-B11 자바 핫스팟 (TM) 클라이언트 VM. 그는 파이어 폭스 (21) 시도 IE 8.0.6001.18702

JVM 보고서 일반 예외 :

basic: Plugin2ClassLoader.addURL parent called for 

https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar 
basic: Plugin2ClassLoader.addURL parent called for 

https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar 

security: Accessing keys and certificate in Mozilla user profile: null 
security: JSS is not configured 
security: Blacklist revocation check is enabled 
security: blacklist: created: NEED_LOAD, lastModified: 1374827364000 
security: blacklist: hasBeenModifiedSince 1374827396921 (we have 1374827364000) 
security: Trusted libraries list check is enabled 
security: blacklist: hasBeenModifiedSince 1374827583375 (we have 1374827364000) 
network: Cache entry found [url: https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar, version: null] prevalidated=false/0 
cache: Adding MemoryCache entry: https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar 
cache: Resource https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar has expired. 
network: Connecting https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar with proxy=DIRECT 
security: blacklist: hasBeenModifiedSince 1374827435937 (we have 1374827364000) 
security: blacklist: hasBeenModifiedSince 1374827390640 (we have 1374827364000) 
security: blacklist: hasBeenModifiedSince 1374827583375 (we have 1374827364000) 
network: CleanupThread used 268961 us 
network: Connecting http://www.sod.pfron.org.pl:443/ with proxy=DIRECT 
security: Loading Root CA certificates from C:\Program Files\Java\jre1.7.0_21\lib\security\cacerts 
security: Loaded Root CA certificates from C:\Program Files\Java\jre1.7.0_21\lib\security\cacerts 
security: Loading SSL Root CA certificates from C:\Program Files\Java\jre1.7.0_21\lib\security\cacerts 
security: Loaded SSL Root CA certificates from C:\Program Files\Java\jre1.7.0_21\lib\security\cacerts 
security: Loading Deployment SSL certificates from C:\Documents and Settings\Marek\Dane aplikacji\Sun\Java\Deployment\security\trusted.jssecerts 
security: Loaded Deployment SSL certificates from C:\Documents and Settings\Marek\Dane aplikacji\Sun\Java\Deployment\security\trusted.jssecerts 
security: Loading certificates from Deployment session certificate store 
security: Loaded certificates from Deployment session certificate store 
security: Checking if SSL certificate is in Deployment permanent certificate store 
security: Check if certificate can be verified using certificates in Root CA certificate store 
security: Certificate to be verified: 
[ 
<.....> 
] 
security: Certificate has been verified with Root CA certificates successfully 
security: Invalid certificate from HTTPS server 
basic: Dialog type is not candidate for embedding 
security: Saving certificates in Deployment session certificate store 
security: Saved certificates in Deployment session certificate store 
network: ResponseCode for https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar : 304 
network: Encoding for https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar : null 
network: Disconnect connection to https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar 
cache: Reading Signers from 3935 https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar | C:\Documents and Settings\Marek\Ustawienia lokalne\Dane aplikacji\Sun\Java\Deployment\cache\6.0\60\6283407c-46587e7d.idx 
cache: Done readSigners(https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar) 
cache: Read manifest for https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar: read=273 full=273 
basic: Plugin2ClassLoader.isTrustedByPolicy called 
basic: Plugin2ClassLoader.isTrustedByPolicy returns false 
security: resource name "pl/computerland/sod/prezentacja/klient/cienki/applet/JavaVersion.class" in https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar : java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
security: resource name "pl/computerland/sod/prezentacja/klient/cienki/applet/JavaVersion.class" in https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar : java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
basic: exception: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library. 
java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
    at com.sun.deploy.security.CPCallbackHandler$ParentElement.checkResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) 
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at java.lang.ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) 
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) 
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 
Ignored exception: java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
basic: exception: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library. 
java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
    at com.sun.deploy.security.CPCallbackHandler$ParentElement.checkResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source) 
    at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) 
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) 
    at java.lang.ClassLoader.loadClass(Unknown Source) 
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) 
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) 
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 
Ignored exception: java.lang.SecurityException: attempted to open sandboxed jar https://www.sod.pfron.org.pl/_applet/Logowanie_8.32.2.48.jar as a Trusted-Library 
basic: Dialog type is not candidate for embedding 
basic: Dialog type is not candidate for embedding 
basic: Removed progress listener: [email protected] 
security: Reset deny session certificate store 
basic: Removed progress listener: [email protected] 
security: Reset deny session certificate store 
+0

사실 나는 동일한 문제가 있습니다 (그리고 나는 사용자입니다!). SO와 웹에서 검색 할 때 플러그인의 최신 버전을 설치/업그레이드해야 할 수도 있다는 것을 알았습니다. 일부 사용자의 경우이 문제가 해결되었습니다. 나는 아직 그것을 직접 시도하지 않고있다. –

답변

2

우리는 비슷한 문제가 있습니다. 우리에게 문제는 클라이언트 컴퓨터에 JRE \ lib 디렉토리 \ 보안 \의 한 java.policy 파일의 추가로 수정 된이었다

이 오류를 제거 된 경우
grant { 
    permission java.security.AllPermission; 
}; 

가 사라졌다. 또한 우리의 테스트에서 Trusted-Library를 삭제하면 오류가 사라졌습니다. 사실이지만 새로운 Java 애플릿 규칙을 고려할 때 실제로는 옵션이 아닙니다.

또한 여기에 정보를 게시했습니다 (https://forums.oracle.com/message/11238296#11238296).

+0

Java Plug-in 10.45.2.18을 사용하여 Windows에서 재현 JRE 버전 1.7.0_45-b18 Java HotSpot (TM) 클라이언트 VM 사용 – englebart