public final class

SSLPermission

extends BasicPermission
java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ javax.net.ssl.SSLPermission

Class Overview

The class representing a network permission.

The following permissions are defined, allowing the specified action:

"setHostnameVerifier"
setting a callback object for additional verification of a hostname mismatch.
"getSSLSessionContext"
getting the SSLSessionContext of an SSLSession.

Summary

Public Constructors
SSLPermission(String name)
Creates a new SSLPermission with the specified name.
SSLPermission(String name, String actions)
Creates a new SSLPermission with the specified name.
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public SSLPermission (String name)

Since: API Level 1

Creates a new SSLPermission with the specified name.

Parameters
name the permission name.

public SSLPermission (String name, String actions)

Since: API Level 1

Creates a new SSLPermission with the specified name.

Parameters
name the permission name.
actions is ignored and should be null.