< prev index next >

src/java.base/share/classes/javax/net/ssl/SSLPermission.java

Print this page

        

*** 42,59 **** * <P> * The following table lists all the possible SSLPermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. * ! * <table border=1 cellpadding=5 ! * summary="permission name, what it allows, and associated risks"> * <tr> * <th>Permission Target Name</th> * <th>What the Permission Allows</th> * <th>Risks of Allowing this Permission</th> * </tr> * * <tr> * <td>setHostnameVerifier</td> * <td>The ability to set a callback which can decide whether to * allow a mismatch between the host being connected to by * an HttpsURLConnection and the common name field in --- 42,62 ---- * <P> * The following table lists all the possible SSLPermission target names, * and for each provides a description of what the permission allows * and a discussion of the risks of granting code the permission. * ! * <table class="striped"> ! * <caption style="display:none">permission name, what it allows, and associated risks</caption> ! * <thead> * <tr> * <th>Permission Target Name</th> * <th>What the Permission Allows</th> * <th>Risks of Allowing this Permission</th> * </tr> + * </thead> * + * <tbody> * <tr> * <td>setHostnameVerifier</td> * <td>The ability to set a callback which can decide whether to * allow a mismatch between the host being connected to by * an HttpsURLConnection and the common name field in
*** 82,91 **** --- 85,95 ---- * <td>Malicious code can set a context that monitors the opening of * connections or the plaintext data that is transmitted. * </td> * </tr> * + * </tbody> * </table> * * @see java.security.BasicPermission * @see java.security.Permission * @see java.security.Permissions
< prev index next >