@@ -132,7 +132,7 @@ private String encodeToString(final byte[] outToken) {
132
132
* @param subject authenticated subject
133
133
* @return a byte[] containing the token to be sent to the peer. null indicates
134
134
* that no token is generated.
135
- * @throws PrivilegedActionException
135
+ * @throws PrivilegedActionException when privileged action threw exception
136
136
* @see GSSContext#acceptSecContext(byte[], int, int)
137
137
*/
138
138
private static byte [] acceptSecContext (final byte [] base64decodedTicket , final GSSContext gssContext , Subject subject )
@@ -148,7 +148,7 @@ private static byte[] acceptSecContext(final byte[] base64decodedTicket, final G
148
148
* @param gssManager {@link GSSManager}
149
149
* @param subject logged in {@link Subject}
150
150
* @return {@link GSSCredential} for particular mechanism
151
- * @throws PrivilegedActionException
151
+ * @throws PrivilegedActionException when privileged action threw exception
152
152
*/
153
153
private static GSSCredential createCredentials (final GSSManager gssManager , final Subject subject ) throws PrivilegedActionException {
154
154
return doAsWrapper (subject , (PrivilegedExceptionAction <GSSCredential >) () -> gssManager .createCredential (null ,
@@ -163,7 +163,7 @@ private static GSSCredential createCredentials(final GSSManager gssManager, fina
163
163
* @param action {@link PrivilegedExceptionAction} action for performing inside
164
164
* Subject.doAs
165
165
* @return the value returned by the PrivilegedExceptionAction's run method
166
- * @throws PrivilegedActionException
166
+ * @throws PrivilegedActionException when privileged action threw exception
167
167
*/
168
168
private static <T > T doAsWrapper (final Subject subject , final PrivilegedExceptionAction <T > action ) throws PrivilegedActionException {
169
169
try {
0 commit comments