@Test public void isClientIdValidTest() { assert validator.isClientIdValid("clientId"); assert validator.isClientIdValid("client_id"); assert validator.isClientIdValid("Client Id"); assert !validator.isClientIdValid("\u041e client id"); }
public boolean isClientIdValid(String clientId) { return this.clientIdPattern == null || this.clientIdPattern.matcher(clientId).matches(); }
Validator { public boolean isClientIdValid(String clientId) { return this.clientIdPattern == null || this.clientIdPattern.matcher(clientId).matches(); } }
Validator { public boolean isClientIdValid(String clientId) { return this.clientIdPattern == null || this.clientIdPattern.matcher(clientId).matches(); } Validator(AbstractConfiguration config); }
Validator { public boolean isClientIdValid(String clientId) { return this.clientIdPattern == null || this.clientIdPattern.matcher(clientId).matches(); } Validator(AbstractConfiguration config); boolean isTopicNameValid(String topicName); boolean isTopicFilterValid(String topicFilter); boolean isClientIdValid(String clientId); boolean isUserNameValid(String userName); boolean isPasswordValid(String password); }
Validator { public boolean isClientIdValid(String clientId) { return this.clientIdPattern == null || this.clientIdPattern.matcher(clientId).matches(); } Validator(AbstractConfiguration config); boolean isTopicNameValid(String topicName); boolean isTopicFilterValid(String topicFilter); boolean isClientIdValid(String clientId); boolean isUserNameValid(String userName); boolean isPasswordValid(String password);  }