Hello,

as may some of you noticed, i create my first lightweight plugin - a
jabber-server-plugin (analouge to jabber-plugin).

The plugin works great and is used in my firm for more than 20 users and
replaces the standalone software "openfire". A problem is that i dont have
enougth experiences to make a good authentication, so users can log-in using
their username as username and username as password.
Therefore, users are able to hook anyone's account via jabber using their
username as password - so they are able to see private conversations.

Assuming i have two Variables:
- Username(String)
- Password(String)
Can you guys give me a hint what method do i have to call to be sure the
user is authentic?

I already download the jenkins/hudson-sourcecode unfortunately
"hudson.model.View.UserInfo" seems to be generated.
PWauthUtils.isUserValid looks like a first approach, but i like to be more
"low-level" and less specific, otherwise i need to migrate all
authentication-methods too - what an overhead!

Note: I dont need to know the Password of a user. I just like to know if the
password is correct for the username!

Any suggestions?

Regards, Grim




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to