Class ManifestAttributesChecker
java.lang.Object
net.adoptopenjdk.icedteaweb.manifest.ManifestAttributesChecker
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JNLPFileprivate static final Loggerprivate final SecurityDescprivate final SecurityDelegateprivate final JNLPClassLoader.SigningState -
Constructor Summary
ConstructorsConstructorDescriptionManifestAttributesChecker(SecurityDesc security, JNLPFile file, JNLPClassLoader.SigningState signing, SecurityDelegate securityDelegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAll()private voidprivate voidhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebaseprivate voidhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_ptprivate voidhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissionsprivate voidhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#trusted_onlyprivate static booleanprivate static booleanisNoneOrDefault(AppletPermissionLevel requested) private ManifestBooleanprivate String(package private) static URLstripDocbase(URL documentBase) private voidvalidateRequestedPermissionLevelMatchesManifestPermissions(AppletPermissionLevel requested, ManifestBoolean sandboxForced)
-
Field Details
-
LOG
-
security
-
file
-
signing
-
securityDelegate
-
-
Constructor Details
-
ManifestAttributesChecker
public ManifestAttributesChecker(SecurityDesc security, JNLPFile file, JNLPClassLoader.SigningState signing, SecurityDelegate securityDelegate)
-
-
Method Details
-
checkAll
- Throws:
LaunchException
-
getAttributesCheck
-
checkEntryPoint
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_pt- Throws:
LaunchException
-
checkTrustedOnlyAttribute
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#trusted_only- Throws:
LaunchException
-
checkCodebaseAttribute
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebase- Throws:
LaunchException
-
checkPermissionsAttribute
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions- Throws:
LaunchException
-
isLowSecurity
private static boolean isLowSecurity() -
isNoneOrDefault
-
validateRequestedPermissionLevelMatchesManifestPermissions
private void validateRequestedPermissionLevelMatchesManifestPermissions(AppletPermissionLevel requested, ManifestBoolean sandboxForced) throws LaunchException - Throws:
LaunchException
-
checkApplicationLibraryAllowableCodebaseAttribute
- Throws:
LaunchException
-
stripDocbase
-
permissionsToString
-
isSandboxForced
-