Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/auth/RoleOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public Optional<Map<String, String>> getCustomOptions()
* - Ensure that only a subset of the options supported by the configured IRoleManager are set
* - Validate the type of any option values present.
* Should either condition fail, then InvalidRequestException is thrown. This method is called
* during validation of CQL statements, so the IRE results in a error response to the client.
* during validation of CQL statements, so the IRE results in an error response to the client.
*
* @throws InvalidRequestException if any options which are not supported by the configured IRoleManager
* are set or if any option value is of an incorrect type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) t

if (SslHandler.isEncrypted(in))
{
// Connection uses SSL/TLS, replace the detection handler with a SslHandler and so use encryption.
// Connection uses SSL/TLS, replace the detection handler with an SslHandler and so use encryption.
SslHandler sslHandler = getSslHandler("replacing optional", ctx.channel(), encryptionOptions);
ctx.pipeline().replace(this, "ssl", sslHandler);
}
Expand Down