Class UnsignedAppletTrustConfirmation
java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.UnsignedAppletTrustConfirmation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckPartiallySignedWithUserIfRequired(SecurityDelegate securityDelegate, JNLPFile file, CertVerifier certVerifier) static voidstatic ExecuteAppletActiongetStoredAction(JNLPFile file, Class<? extends RememberableDialog> id) static UnsignedAppletActionEntrygetStoredEntry(JNLPFile file, Class<? extends RememberableDialog> id) Gets the remembered decision, first checking the user policy for an ALWAYS/NEVER, and then the global policy.static voidupdateAppletAction(JNLPFile file, SavedRememberAction behaviour, Boolean rememberForCodeBase, Class<? extends RememberableDialog> id)
-
Constructor Details
-
UnsignedAppletTrustConfirmation
public UnsignedAppletTrustConfirmation()
-
-
Method Details
-
getStoredEntry
public static UnsignedAppletActionEntry getStoredEntry(JNLPFile file, Class<? extends RememberableDialog> id) Gets the remembered decision, first checking the user policy for an ALWAYS/NEVER, and then the global policy.- Parameters:
file- the plugin fileid- of wonted action- Returns:
- the remembered decision
-
getStoredAction
public static ExecuteAppletAction getStoredAction(JNLPFile file, Class<? extends RememberableDialog> id) -
updateAppletAction
public static void updateAppletAction(JNLPFile file, SavedRememberAction behaviour, Boolean rememberForCodeBase, Class<? extends RememberableDialog> id) -
checkUnsignedWithUserIfRequired
- Throws:
LaunchException
-
checkPartiallySignedWithUserIfRequired
public static void checkPartiallySignedWithUserIfRequired(SecurityDelegate securityDelegate, JNLPFile file, CertVerifier certVerifier) throws LaunchException - Throws:
LaunchException
-