Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ Secret
Method
Secret
java/src/org/openqa/selenium/grid/security/Secret.java:27–29 ·
view source on GitHub ↗
(String secret)
Source
from the content-addressed store, hash-verified
25
private
final
String secret;
26
27
public
Secret(String secret) {
28
this.secret = Require.nonNull(
"Secret"
, secret);
29
}
30
31
public
static
boolean matches(Secret first, Secret second) {
32
if
(first == null) {
Callers
nothing calls this directly
Calls
1
nonNull
Method · 0.95
Tested by
no test coverage detected