powered by Jive Software

Adding existsUser to UserService plugin

Would be greate that functionallity. I was seeing plugin’s source code and seems to be easy to add at UserServicePlugin.java

``

public boolean existsUser(String username){

try{

getUser(username);

return true;

}catch(UserNotFoundException){

return false;

}

}

And then add at UserServiceServlet.java an “if” that calls the new method.

Invocation could be:

http://example.com:9090/plugins/userService/userservicetype=existsUser&secret=bi gsecret&username=kafka

What do you think?