# HG changeset patch
# User darcy
# Date 1386100338 28800
# Node ID abc02575919ccb214d9e549a16c523e157c3b17c
# Parent df1d668d6e2333a00f980aa385241b3c816278d6
8029475: Fix more doclint issues in javax.security
Reviewed-by: juh
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/crypto/Cipher.java
--- a/jdk/src/share/classes/javax/crypto/Cipher.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/crypto/Cipher.java Tue Dec 03 11:52:18 2013 -0800
@@ -62,17 +62,17 @@
* algorithm (e.g., DES), and may be followed by a feedback mode and
* padding scheme.
*
- *
A transformation is of the form:
+ *
A transformation is of the form:
*
*
* - "algorithm/mode/padding" or
- *
+ *
*
- "algorithm"
*
*
* (in the latter case,
* provider-specific default values for the mode and padding scheme are used).
- * For example, the following is a valid transformation:
+ * For example, the following is a valid transformation:
*
*
* Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding");
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/crypto/CipherSpi.java
--- a/jdk/src/share/classes/javax/crypto/CipherSpi.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/crypto/CipherSpi.java Tue Dec 03 11:52:18 2013 -0800
@@ -62,17 +62,17 @@
* algorithm (e.g., DES), and may be followed by a feedback mode and
* padding scheme.
*
- * A transformation is of the form:
+ *
A transformation is of the form:
*
*
* - "algorithm/mode/padding" or
- *
+ *
*
- "algorithm"
*
*
* (in the latter case,
* provider-specific default values for the mode and padding scheme are used).
- * For example, the following is a valid transformation:
+ * For example, the following is a valid transformation:
*
*
* Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding");
@@ -129,7 +129,7 @@
* DES/CBC/PKCS5Padding, one that implements
* DES/CFB/PKCS5Padding, and yet another one that implements
* DES/OFB/PKCS5Padding. That provider would have the following
- * Cipher
properties in its master class:
+ * Cipher
properties in its master class:
*
*
*
@@ -160,7 +160,7 @@
* and one for OFB), one class for PKCS5Padding,
* and a generic DES class that subclasses from CipherSpi
.
* That provider would have the following
- * Cipher
properties in its master class:
+ * Cipher
properties in its master class:
*
*
*
@@ -197,20 +197,20 @@
* Check if the provider has registered a subclass of CipherSpi
* for the specified "algorithm/mode/padding" transformation.
* If the answer is YES, instantiate it.
- *
If the answer is NO, go to the next step.
+ *
If the answer is NO, go to the next step.
*
-
* Check if the provider has registered a subclass of
CipherSpi
* for the sub-transformation "algorithm/mode".
* If the answer is YES, instantiate it, and call
* engineSetPadding(padding)
on the new instance.
- *
If the answer is NO, go to the next step.
+ *
If the answer is NO, go to the next step.
*
-
* Check if the provider has registered a subclass of
CipherSpi
* for the sub-transformation "algorithm//padding" (note the double
* slashes).
* If the answer is YES, instantiate it, and call
* engineSetMode(mode)
on the new instance.
- *
If the answer is NO, go to the next step.
+ *
If the answer is NO, go to the next step.
*
-
* Check if the provider has registered a subclass of
CipherSpi
* for the sub-transformation "algorithm".
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/crypto/KeyGenerator.java
--- a/jdk/src/share/classes/javax/crypto/KeyGenerator.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/crypto/KeyGenerator.java Tue Dec 03 11:52:18 2013 -0800
@@ -66,7 +66,6 @@
* algorithm-independent init
methods, it is up to the
* provider what to do about the algorithm-specific parameters (if any) to be
* associated with each of the keys.
- *
*
*
- Algorithm-Specific Initialization
*
For situations where a set of algorithm-specific parameters already
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/crypto/SealedObject.java
--- a/jdk/src/share/classes/javax/crypto/SealedObject.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/crypto/SealedObject.java Tue Dec 03 11:52:18 2013 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -50,7 +50,7 @@
* to a SealedObject.
*
*
The original object that was sealed can be recovered in two different
- * ways:
+ * ways:
*
*
*
@@ -68,8 +68,6 @@
* decryption key, it could hand over the cipher object to
* another party who then unseals the sealed object.
*
- *
- *
*
- by using one of the
* {@link #getObject(java.security.Key) getObject} methods
* that take a
Key
object.
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/net/ssl/SSLEngine.java
--- a/jdk/src/share/classes/javax/net/ssl/SSLEngine.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/net/ssl/SSLEngine.java Tue Dec 03 11:52:18 2013 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -329,7 +329,7 @@
* is saved. All future delegated tasks will be processed using this
* context: that is, all access control decisions will be made using the
* context captured at engine creation.
- *
+ *
*
*
* Concurrency Notes:
@@ -345,7 +345,7 @@
* out-of-order, unexpected or fatal results may occur.
*
* For example:
- *
+ *
*
* synchronized (outboundLock) {
* sslEngine.wrap(src, dst);
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/net/ssl/SSLPermission.java
--- a/jdk/src/share/classes/javax/net/ssl/SSLPermission.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/net/ssl/SSLPermission.java Tue Dec 03 11:52:18 2013 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,6 @@
* 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.
- *
*
*
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/security/auth/PrivateCredentialPermission.java
--- a/jdk/src/share/classes/javax/security/auth/PrivateCredentialPermission.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/security/auth/PrivateCredentialPermission.java Tue Dec 03 11:52:18 2013 -0800
@@ -228,8 +228,8 @@
*
*
* This method returns true if:
- *
- * - p is an instanceof PrivateCredentialPermission and
+ *
+ * - p is an instanceof PrivateCredentialPermission and
*
- the target name for p is implied by this object's
* target name. For example:
*
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/security/auth/kerberos/DelegationPermission.java
--- a/jdk/src/share/classes/javax/security/auth/kerberos/DelegationPermission.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/security/auth/kerberos/DelegationPermission.java Tue Dec 03 11:52:18 2013 -0800
@@ -48,14 +48,14 @@
*
* For example, to specify the "host" service use of a forwardable TGT the
* target permission is specified as follows:
- *
+ *
*
* DelegationPermission("\"host/foo.example.com@EXAMPLE.COM\" \"krbtgt/EXAMPLE.COM@EXAMPLE.COM\"");
*
*
* To give the "backup" service a proxiable nfs service ticket the target permission
* might be specified:
- *
+ *
*
* DelegationPermission("\"backup/bar.example.com@EXAMPLE.COM\" \"nfs/home.EXAMPLE.COM@EXAMPLE.COM\"");
*
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/security/auth/kerberos/ServicePermission.java
--- a/jdk/src/share/classes/javax/security/auth/kerberos/ServicePermission.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/security/auth/kerberos/ServicePermission.java Tue Dec 03 11:52:18 2013 -0800
@@ -62,7 +62,7 @@
* Authentication Service exchange.
*
* The possible actions are:
- *
+ *
*
* initiate - allow the caller to use the credential to
* initiate a security context with a service
@@ -75,7 +75,7 @@
*
* For example, to specify the permission to access to the TGT to
* initiate a security context the permission is constructed as follows:
- *
+ *
*
* ServicePermission("krbtgt/EXAMPLE.COM@EXAMPLE.COM", "initiate");
*
@@ -89,7 +89,7 @@
* For a Kerberized server the action is "accept". For example, the permission
* necessary to access and use the secret key of the Kerberized "host"
* service (telnet and the likes) would be constructed as follows:
- *
+ *
*
* ServicePermission("host/foo.example.com@EXAMPLE.COM", "accept");
*
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/security/auth/login/LoginContext.java
--- a/jdk/src/share/classes/javax/security/auth/login/LoginContext.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/security/auth/login/LoginContext.java Tue Dec 03 11:52:18 2013 -0800
@@ -101,11 +101,11 @@
*
- If the constructor has a Subject
* input parameter, the LoginContext uses the caller-specified
* Subject object.
- *
+ *
*
- If the caller specifies a {@code null} Subject
* and a {@code null} value is permitted,
* the LoginContext instantiates a new Subject.
- *
+ *
*
- If the constructor does not have a Subject
* input parameter, the LoginContext instantiates a new Subject.
*
@@ -132,7 +132,7 @@
* {@code getAppConfigurationEntry} with the name, "other"
* (the default entry name). If there is no entry for "other",
* then a {@code LoginException} is thrown.
- *
+ *
*
- When LoginContext uses the installed Configuration, the caller
* requires the createLoginContext.name and possibly
* createLoginContext.other AuthPermissions. Furthermore, the
@@ -141,7 +141,7 @@
* perform security-sensitive tasks (such as connecting to remote hosts,
* and updating the Subject) will require the respective permissions, but
* the callers of the LoginContext will not require those permissions.
- *
+ *
*
- When LoginContext uses a caller-specified Configuration, the caller
* does not require any createLoginContext AuthPermission. The LoginContext
* saves the {@code AccessControlContext} for the caller,
@@ -158,7 +158,7 @@
*
- If the constructor has a CallbackHandler
* input parameter, the LoginContext uses the caller-specified
* CallbackHandler object.
- *
+ *
*
- If the constructor does not have a CallbackHandler
* input parameter, or if the caller specifies a {@code null}
* CallbackHandler object (and a {@code null} value is permitted),
@@ -171,7 +171,7 @@
* with users. The caller thus assumes that the configured
* modules have alternative means for authenticating the user.
*
- *
+ *
*
- When the LoginContext uses the installed Configuration (instead of
* a caller-specified Configuration, see above),
* then this LoginContext must wrap any
diff -r df1d668d6e23 -r abc02575919c jdk/src/share/classes/javax/security/auth/x500/X500Principal.java
--- a/jdk/src/share/classes/javax/security/auth/x500/X500Principal.java Tue Dec 03 11:37:25 2013 -0800
+++ b/jdk/src/share/classes/javax/security/auth/x500/X500Principal.java Tue Dec 03 11:52:18 2013 -0800
@@ -314,7 +314,7 @@
* this method returns an RFC 2253 conformant string representation
* with the following additional canonicalizations:
*
- *
+ *
* - Leading zeros are removed from attribute types
* that are encoded as dotted decimal OIDs
*
- DirectoryString attribute values of type