May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class com.sun.net.ssl.SSLPermission
This class is used to test for permissions within JSSE. You do not use it in programs, though you must specify it in the appropriate java.policy file if you want code to be able to perform certain operations. This is a basic permission; it requires a name but no actions.
The two valid names for this permission are
“setHostnameVerifier” (needed to call the
setHostnameVerifier( ) method of the
HttpsURLConnection class) and
“getSSLSessionContext” (needed to call the
getSessionContext( ) method of Sun’s
implementation of the SSLSocket class).
public final class com.sun.net.ssl.SSLPermission
extends java.security.BasicPermission {
// Constructors
public SSLPermission(String, String);
public SSLPermission(String);
}Read now
Unlock full access