Skip to content

Commit

Permalink
Remove javadoc '@'s
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Oct 24, 2022
1 parent b0cddf7 commit 50939eb
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,6 @@ public byte[] generateInitializationVector() {

/**
* Create a two-way encrypted access token for given principal for this extension
* @param: principal being sent to the extension
* @return token generated from principal
* @throws NoSuchPaddingException
* @throws NoSuchAlgorithmException
* @throws InvalidAlgorithmParameterException
* @throws InvalidKeyException
* @throws BadPaddingException
* @throws IllegalBlockSizeException
* @throws IOException
*/
public PrincipalIdentifierToken generateToken(Principal principal) throws NoSuchAlgorithmException, NoSuchPaddingException,
InvalidKeyException, InvalidAlgorithmParameterException, IllegalBlockSizeException, BadPaddingException, IOException {
Expand Down Expand Up @@ -129,15 +120,6 @@ public PrincipalIdentifierToken generateToken(Principal principal) throws NoSuch

/**
* Decrypt the token and extract Principal
* @param token the requester identity token, should not be null
* @return Principal
* @throws InvalidAlgorithmParameterException
* @throws InvalidKeyException
* @throws BadPaddingException
* @throws IllegalBlockSizeException
* @throws NoSuchPaddingException
* @throws NoSuchAlgorithmException
*
* @opensearch.internal
*/
public String extractPrincipal(PrincipalIdentifierToken token, SecretKey secretKey) throws IllegalArgumentException,
Expand Down Expand Up @@ -181,8 +163,6 @@ public String extractPrincipal(PrincipalIdentifierToken token, SecretKey secretK

/**
* Checks validity of the requester identifier token
* @param token The requester identifier token
* @throws IllegalArgumentException when token is invalid
*
* This method contains a placeholder implementation.
* More concrete implementation will be covered in https://github.com/opensearch-project/OpenSearch/issues/4485
Expand Down

0 comments on commit 50939eb

Please sign in to comment.